Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got the Xming X server running on Windows. I "view" my Linux desktop on it remotely using XDMCP.

It all works well, but if I put my Windows box to sleep or hibernate and come back a few hours later, I've lost my X session (Xming window blank) and I have to close the window and create a new XDMCP session.

Is there any way to keep XDMCP session going when the OS hosting the X server sleeps/hibernates?

I don't know what's relevant here, but I'm running GDM & KDE on Debian Unstable, Xming on WinXP.


share|improve this question

Off the top of my head, I'd say no. You're losing the TCP connection so X shuts down the session as if you'd been knocked off the network. If you want a persistent connection, look into VNC or NX (FreeNX or NoMachine). I'm too new to post links, but you can use Google on either option and you'll get usable results.

share|improve this answer
Thanks for your answer Matt. I'd never heard of NX/NoMachine, so it's good to learn about it. My Linux instance runs as a domU VM on Xen so I'll have to see if I can get it to use a hidden frame buffer that I can VNC into, as the dom0 screen is already being used by someone else. – user7406 Jun 2 '09 at 8:50

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.