Grim
Group: Members
Posts: 284
Joined: Mar. 2004 |
|
Posted: June 21 2004,03:59 |
|
If SuSE/RedHat continued to run an application after you logged out, then SuSE/RedHat is doing something wrong. All of your user instantiated processes should terminate once you logout of the system. This behaviour is part of what allows UNIX-like operating systems to capitalize on system resources and provide a multi-user OS.
In order to do what you want done, you need to install and learn to use GNU screen.
It's available via apt:Code Sample | apt-get install screen |
Once installed on the system you wish to secure shell into, SSH into the box and type screen at the prompt. Now start whatever program you want to continue to run. After the program has started, type `CTRL-D' to detach the screen session. The program continues to run and everybody's happy.
If you want to log back into the system and stop the process, ssh into the remote machine, type `screen -D -R' to reattach the session and proceed like you had never severed the connection.
There's actually a lot of digestable information at http://www.michael-prokop.at/screen/
-------------- No good deed goes unpunished...
|