LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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



Reply
 
Search this Thread
Old 03-28-2004, 02:01 PM   #1
yelp666
LQ Newbie
 
Registered: Apr 2003
Posts: 18

Rep: Reputation: 0
Question 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.
 
Old 03-28-2004, 04:14 PM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
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.
 
Old 03-28-2004, 04:35 PM   #3
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 50
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 04:37 PM.
 
Old 03-28-2004, 04:43 PM   #4
yelp666
LQ Newbie
 
Registered: Apr 2003
Posts: 18

Original Poster
Rep: Reputation: 0
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??
 
Old 03-28-2004, 04:45 PM   #5
yelp666
LQ Newbie
 
Registered: Apr 2003
Posts: 18

Original Poster
Rep: Reputation: 0
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
 
Old 03-28-2004, 05:22 PM   #6
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Yeah you guys are right. I forgot about X forwarding. hmmm....
 
Old 03-29-2004, 09:02 AM   #7
yelp666
LQ Newbie
 
Registered: Apr 2003
Posts: 18

Original Poster
Rep: Reputation: 0
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
running X applications on remote machine when logged in via ssh servnov Linux - General 1 08-15-2005 09:53 PM
running suse 9.2 gives me text not graphic interface jan_bosjes Linux - Newbie 7 04-11-2005 12:25 AM
Does anybody knows a good Graphic Designing Application for Linux? christian_delaf Linux - Software 5 11-27-2004 12:46 PM
Running GUI apps frm terminal while logged in as normal user muttley Debian 3 08-08-2004 12:39 AM
application errors. where are they logged? digitized_funk Linux - Newbie 1 03-27-2003 01:01 AM


All times are GMT -5. The time now is 08:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration