Results 1 to 6 of 6
Does anyone know how to run a GUI X app remotely in background - that persists even when logged out?
Basically, I ssh into university to run my X program ...
- 09-07-2005 #1Linux Newbie
- Join Date
- Nov 2004
- Posts
- 208
HELP: running process in bg and logout and persist... woes :S
Does anyone know how to run a GUI X app remotely in background - that persists even when logged out?
Basically, I ssh into university to run my X program am developing for my project. However I need to leave it running for over 24 hours, maybe days on end preferably. I left it, however it auto-loggs out after 6 hours of idle keyboard input (or something like that).
I remember something about running a process (can it be X too?) in background, and then log out, and it's still running...
- 09-07-2005 #2
You might want to investigate GNU Screen.
- 11-07-2005 #3Linux Newbie
- Join Date
- Nov 2004
- Posts
- 208
Screen is very good. Thanks for the advice.
- 11-07-2005 #4Linux Newbie
- Join Date
- Mar 2005
- Location
- Romania
- Posts
- 186
Alternatively you can run an application from terminal and add '&' at the end.
Example (this is how I download large files):
The process will be run in background until stopped (or until if finishes) even if you log out.Code:wget <link> &
You can only be young once. But you can always be immature.
- 11-07-2005 #5Linux Enthusiast
- Join Date
- Aug 2005
- Location
- Hell
- Posts
- 514
In bash,
will run a command in the background that doesn't get stopped by the SIGHUP from when you log out.Code:nohup <command> &
- 11-08-2005 #6Linux Newbie
- Join Date
- Nov 2004
- Posts
- 208
Ah, that also works.. plus no need to install screen. Excellent!


Reply With Quote
