Linux – Keeping XDMCP session alive through sleep/hibernate

hibernatelinuxwindows

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.

Thanks

Best Answer

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.