Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am logging in to a remote linux box using xlaunch with gnome-session --display=$DISPLAY. If I start a background process, is there a way to have it stay alive (keep running) when I exit Xming so that it completes or still shows up when I log-in again?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

No; when your X session goes away all programs using it lose their connection to the X server, which typically causes them to exit. It is possible to arrange for programs that require neither X11 nor a terminal to be persistent, but if it needs either of those then it cannot survive loss of access to the Display.

If you want a persistent X session, take a look at VNC. I've used X11VNC for this but there are other ways to set up persistent sessions.

share|improve this answer
Yes, for persistent sessions you need a persistent X server. Xvnc is a great candidate. – yarek May 11 '12 at 19:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.