USING ‘SCREEN’ ON A HEADLESS MINER
To set the stage, my mining rigs are setup on Ubuntu 20.04, with NVidia 1080Ti Cards, and they are headless systems. On these systems, I use Putty to connect to them, and run them. You will notice that when you close putty, your miner will stop mining. Which can be a pain, because who wants to always have a Putty connection to their miner, especially when it is a headless system.
A fun little program that I have used for years and never thought of mentioning, is called Screen. Screen allows you to run your headless mining system, without putty being constantly attached, or having a keyboard / mouse / monitor attached.
To enable screen, you can do the following once you are logged in through putty
apt-get install screen
If you are running Ubuntu 20.04 you may find that it is already installed. If it is installed, to run it, simply do the following
and the program will run
For me I use it to run my custom mining scripts, so I will cd to the directory, and run
The mining software will start up, and I can then close Putty, and the rig will continue to mine…..
If at any time you want to reconnect to your miner to see the progress:
Type screen -r
Your screen will reconnect
Thanks for reading!
The hardware that I used in this guide:
Gigabyte AORUS GeForce GTX 1080 Ti (QTY 6):
Motherboard (QTY 1):
CPU (QTY 1):
Memory (QTY 1):
Hard Drive (QTY 1):
Risers (QTY 6):
Power Supplies (QTY 2):
Add2PSU (QTY 1):
Power Switch (QTY 1):