Starting processes from remote shell and keep them running...
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Starting processes from remote shell and keep them running...
My problem is that I would like to start a lenghty process from a remote shell, without having it terminated when the shell is closed. I would like to use putty or webmin for that purpose.
I already tried with nohup command, but to no avail, because the process is started as a child from sshd, and when I close putty on the remote computer everything is gone...
And I don't want to let 2 computers run just because one is processing something...
If anyone of you knows a smart way to do so, I would be very glad...
I did try with the ampersand, but unfortunately this doesn't work for me...
The process is sended to the background, but if I type exit in the shell, then it says: "there are stopped jobs" and shows me that it has stopped the job...
Nohup works better, putty doesn't stop the process then, but it is stopped when the ssh daemon closes the connection...
I will try using rlogin, and report here...
I can't get rlogin to work, but I would anyways rather use SSH, because of the better security...
Maybe I should add that the remote computer is running WinXP here at work...
And I'm using Putty client for windows.
Thank you all for your efforts and your help!
I just tried with the nohup option and the ampersand in the end again, and ran mencoder with it (which is the application I want to run), and it worked...
I was alway using "lynx www.google.com" before (out of a lack of fantasy) and that didn't survive the termination of the shell...
But mencoder does, and that's all I need...
I'm running debian woody...
Funny that lynx didn't stay alive and mencoder does, but that's maybe because it isn't able to output to nohup.out...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.