Setting permanent remote X-Server

Posted on 2006-05-03
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
    LVL 87

    Accepted Solution

    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.
    LVL 3

    Author Comment

    Thanks rindi I'll try that later in the evening.
    LVL 3

    Author Comment

    tightVNC work great, thank
    LVL 87

    Expert Comment

    your welcome

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    Suggested Solutions

    Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
    I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
    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…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    728 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

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now