Yeah, that's pretty much the dilemma I have found that I can do this ( but it's in no way a solution ) ssh into the remote server as user alpha su to user beta start up the application exit out of user beta check that the java application is still running, which it is. logout of the remote server ssh back into the remote server as user alpha java application IS still running I'm trying differnet ways of using the disown sub-shell command. Not having any luck. Part of the problem is that the rc script does a su to run the java application as a non-root user. Do I need to use the disown on the initial calling script or all the java processes? Please respond to nick.leroy@linuxmail.org To: suse-security@suse.com cc: Fax to: Subject: Re: [suse-security] Keep Remote App Running after ssh logout On Tue February 8 2005 3:53 pm, Rainer Duffner wrote:
Andrew_Wrobel@PepBoys.com wrote:
I've trying different things to get around this problem without any luck.
I have a Java-based application running on a remote server, which I connect to via SSH.
After starting the application, it will die as soon as I logout. I've tried to nohup the java command. No dice.
If I'm understanding things correctly, the basic problem is that the ssh session creates a "tunnel" through which your X apps (including your graphical Java app) is displayed. When the ssh session goes away, so does the tunnel, and, poof, your remote X session as well. Sorry. -Nick -- <<< Why, oh, why, didn't I take the blue pill? >>> /`-_ Nick LeRoy The Condor Project { }/ http://www.cs.wisc.edu/~nleroy http://www.cs.wisc.edu/condor \ / nick.leroy@linuxmail.org The University of Wisconsin |_*_| 608-265-5761 Department of Computer Sciences -- Check the headers for your unsubscription address For additional commands, e-mail: suse-security-help@suse.com Security-related bug reports go to security@suse.de, not here Disclaimer: The information contained in this communication is confidential and only for the use of the intended addressee(s). If you have received this communication in error, any disclosure or use of such information is strictly prohibited. Please notify the sender immediately and destroy all copies. Thank you.