Setting permanent remote X-Server

Hi, Experts
The situation looks like this:
There are two comuters COMP1 which is my computer at home and COMP2 to which I have no physicall access - I can only log there thru ssh or gdm. Now I want to log into COMP2 from COMP1, run a program which uses X-Windows and then log out but leave the program running. I guess I have to somehow set a permanent X-Server in gdm so I can log to the same X session but gdm  makes a separate X session for each login. Anyway it doesn't have to be using gdm at all - I just need to know how this is solved.
Regards, MC
LVL 3
emceAsked:
Who is Participating?
 
rindiCommented:
Have you tried using a vncserver for that? You'd have to open port 5900 (I think that's the standard VNC port) and login to the box with VNC Viewer to the running X Window. If you don't log out of the session, just disconnect, the session will keep on running and you can logon back to it at a later time. There are many VNC Servers like tightvnc etc., but most distro's come with at least one included, so you just need to use your packet manager to get it installed, then start the server on the remote box as the logged in user from ssh.
0
 
emceAuthor Commented:
Thanks rindi I'll try that later in the evening.
0
 
emceAuthor Commented:
tightVNC work great, thank
0
 
rindiCommented:
your welcome
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.