LinuxQuestions.org
Visit Jeremy's Blog.
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, 01: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, 03: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, 03:35 PM   #3
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 51
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.
 
Old 03-28-2004, 03: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, 03: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, 04: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, 08: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 08:53 PM
running suse 9.2 gives me text not graphic interface jan_bosjes Linux - Newbie 7 04-10-2005 11:25 PM
Does anybody knows a good Graphic Designing Application for Linux? christian_delaf Linux - Software 5 11-27-2004 11:46 AM
Running GUI apps frm terminal while logged in as normal user muttley Debian 3 08-07-2004 11:39 PM
application errors. where are they logged? digitized_funk Linux - Newbie 1 03-27-2003 12:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:22 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
Open Source Consulting | Domain Registration