LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Running graphic application over network while not logged in (http://www.linuxquestions.org/questions/linux-general-1/running-graphic-application-over-network-while-not-logged-in-163415/)

yelp666 03-28-2004 02:01 PM

Running graphic application over network while not logged in
 
Hi all,

I have an old server running Mandrake 9.1, on which I installed xmule. I use x forwarding to connect to it from my machine. Everything works great, but I want to be able to log out (preferably turn my comp off) and still have xmule going on the server. Currently every time I try to log off and connection is broken all graphic aps that where running on server are killed. Is there any way to change it??

Thanks for all your help.

Crashed_Again 03-28-2004 04:14 PM

So you using ssh to log into the server, then you open up xmule and begin downloading some things and you want the download to continue after you logout of the server right? I think what you need to do here is to start the xmule command with nohup like:

# nohup xmule

This will keep xmule running even after you have logged out.

kev82 03-28-2004 04:35 PM

by Crashed_Again
# nohup xmule

This will keep xmule running even after you have logged out.


that wont work cos when you switch your machine off xmule will lose its connection to the X server and bail out. the only way i have managed to achieve this effect is to run a vnc server on the serving machine, set xmule's display to that, then when you want to look at it open up a vnc client on your machine and connect to the vnc server.

a hopefully helpful diagram
Code:

Your machine                      Server
--------------                ----------------------------------
-            -                -                                -
- vnc viewer - <-- network --> - vnc server <-- Xlib --> XMule  -
-            -                -                                -
--------------                ----------------------------------


yelp666 03-28-2004 04:43 PM

You are completely correct with ssh and downloading:). However the nohup doesn't work. I think it would work great for a terminal process, because when you put it in the background, there is no visible output, but that doesn't work with graphical apps, because they output "window" all the time. Unless there is some way to close the window/output and still have the app running??

yelp666 03-28-2004 04:45 PM

kev82 -> you've had better timing then me. I'll check your solution for sure. I'll post if it worked. Anyway, thanks for all your help, guys

Crashed_Again 03-28-2004 05:22 PM

Yeah you guys are right. I forgot about X forwarding. hmmm....

yelp666 03-29-2004 09:02 AM

It worked !!!!

Thanks guys. BTW: VNC is great. I had no idea that there is such an amazing tool, it is possible to connect from different OSs. It's great. Everyone should check it out!


All times are GMT -5. The time now is 11:35 AM.