Author

Topic: [UBUNTU] i open cgminer on startup, now i'd like to see it via ssh, how to? (Read 4076 times)

legendary
Activity: 952
Merit: 1000
Check out Byobu. You can't have it start CGMiner on startup in a single command like you can with screen, but it's dead simple to use.
newbie
Activity: 40
Merit: 0
I fear that gnome-terminal can not be attached to  - only possibility I see for that is desktop sharing but then you access the whole X session over ssh ...

I use screen for all my miners, starting it manually .... on one machine I did it automatically in LXDE

gnome-terminal x -screen -S miner sh "my command" should do the trick
legendary
Activity: 892
Merit: 1013
check out screen - that is a "text mode window manager" ... read the man page, it should be possible to start screen and immediately load your miner.

something like "screen -S mine ./miner.sh" opens a window named "mine" and starts the script "miner.sh" ...  you should now be able to ssh and attach to the session with "screen -x mine"

"Ctrl-a d" detaches the session - your shell script continues to run ...
humm i'll give it a try even if my first attempt to use screen was a failure.
From now when i start my session i use gnome-terminal x -sh "my command" or something like that. no way to switch when using this?
newbie
Activity: 40
Merit: 0
check out screen - that is a "text mode window manager" ... read the man page, it should be possible to start screen and immediately load your miner.

something like "screen -S mine ./miner.sh" opens a window named "mine" and starts the script "miner.sh" ...  you should now be able to ssh and attach to the session with "screen -x mine"

"Ctrl-a d" detaches the session - your shell script continues to run ...
legendary
Activity: 892
Merit: 1013
Hello, on startup my little miner open cgminer and start working all alone.
so basicaly a shell window is open with cgminer. if i plug my screen, i can quickly check if everything is allright.
Now i would like to be  able to see the cgminer program from ssh.
I'd like a kind of ALT+TAB for the terminal.

Is it possible ?

thanks a lot
Jump to: