Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Setting permanent remote X-Server

Posted on 2006-05-03
Medium Priority
Last Modified: 2013-12-27
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
Question by:emce
  • 2
  • 2
LVL 88

Accepted Solution

rindi earned 2000 total points
ID: 16603792
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.

Author Comment

ID: 16604524
Thanks rindi I'll try that later in the evening.

Author Comment

ID: 16613938
tightVNC work great, thank
LVL 88

Expert Comment

ID: 16614029
your welcome

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses
Course of the Month12 days, 5 hours left to enroll

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question