Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-28-2004, 01:01 PM
|
#1
|
LQ Newbie
Registered: Apr 2003
Posts: 18
Rep:
|
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.
|
|
|
03-28-2004, 03:14 PM
|
#2
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Rep:
|
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.
|
|
|
03-28-2004, 03:35 PM
|
#3
|
Senior Member
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263
Rep:
|
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 -
- - - -
-------------- ----------------------------------
Last edited by kev82; 03-28-2004 at 03:37 PM.
|
|
|
03-28-2004, 03:43 PM
|
#4
|
LQ Newbie
Registered: Apr 2003
Posts: 18
Original Poster
Rep:
|
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??
|
|
|
03-28-2004, 03:45 PM
|
#5
|
LQ Newbie
Registered: Apr 2003
Posts: 18
Original Poster
Rep:
|
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
|
|
|
03-28-2004, 04:22 PM
|
#6
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Rep:
|
Yeah you guys are right. I forgot about X forwarding. hmmm....
|
|
|
03-29-2004, 08:02 AM
|
#7
|
LQ Newbie
Registered: Apr 2003
Posts: 18
Original Poster
Rep:
|
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 10:22 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|