Hi guys,
Just wondering if there is any way to get a cgminer icon on the desktop of raspian or at least a .bat file so you can start cgminer without having to putty in.
Or can you have a terminal open on the pi desktop with it running so I can just switch the source input on my tv and see the stats?
Also if I close the putty session from my laptop, cgminer is still running on the pi. How do I get back to see the cgminer stats through putty as when I open it up again it goes back to the login page.
Thanks.
First get screen, sudo apt-get install screen (I don't remember, but don't think screen is installed in raspbian).
Then edit the /etc/rc.local file and add before exit 0 line: (this will start cgminer whenever the pi boots/reboots.)
(going from the gekko support thread, you want to run gekko and rbox)
cd /home/pi/cgminer-gekko-rev2 (pi = what ever user-name you set up)
screen -dmS cgminer sudo ./cgminer -o yourpoolinfo -u userinfo --compac-freq XXX (and your rbox stuff (if both will run on 1 instance of cgminer)
(if both will not run on 1 cgminer add second instance)
screen -dmS cgminer sudo ./cgminer -o yourpoolinfo -u userinfo --(rbox comands)
Then in putty or a terminal window on desktop
sudo screen -x (if it's just one instance of cgminer, it will show).
If you have to do 2 instances of cgminer, with sudo cgminer -x, you'll get 2 lines like 324.cgminer, 435.cgminer. Then just sudo screen -r 324, control a, then d will disconnect from that screen, sudo screen -r 435 to open the other.
Better yet just open 2 terminal windows or 2 putty's and sudo screen -r 435 in 1, sudo screen 324 in 1, and look at both).
Like Kano said, it all depends on setup. There's probably dozens of ways to do it.