Skip to content
Home » Crypto » USING ‘SCREEN’ ON A HEADLESS MINER

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
sudo bash
apt-get update
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
screen ./program-name
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
screen ./etc.sh
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:
Open Putty
Login
Type screen -r
Press Enter
Your screen will reconnect

Thanks for reading!

The hardware that I used in this guide:
Gigabyte AORUS GeForce GTX 1080 Ti (QTY 6):
https://amzn.to/2JqvXC8

Motherboard (QTY 1): 
https://amzn.to/2JqGJZ7

CPU (QTY 1): 
https://amzn.to/3qevp2X

Memory (QTY 1): 
https://amzn.to/2JqHn8Z

Hard Drive (QTY 1):  
https://amzn.to/3lic3X5

Risers (QTY 6):  
https://amzn.to/33rIgVE

Power Supplies (QTY 2):
https://amzn.to/3fTRpLR

Add2PSU (QTY 1):
https://amzn.to/39s4URY

Power Switch (QTY 1):  
https://amzn.to/3ljmNVk