System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any option to restore the previous Linux session opened using exceed XDMCP query

senthil_kumar_1
Super Advisor

Is there any option to restore the previous Linux session opened using exceed XDMCP query

Hi All,

 

For say, I am opening Linux GUI by exceed XDMCP query then It is disconnected...If I am opening the same linux server by exceed XDMCP query...It is opening the new session...

 

Is there any way to open the previous session...If it is disconnected but not logged off...Something similar to RDP on Windows...

1 REPLY
Matti_Kurkela
Honored Contributor

Re: Is there any option to restore the previous Linux session opened using exceed XDMCP query

Sorry, the X11 protocol cannot do that.

 

The X11 GUI session is essentially a set of independent X11 client applications, which contact to the "X server" that manages the display, mouse and keyboard. In your case, the X server is the eXceed application on your Windows workstation. (Yes, X11 does not use the terms "client" and "server" the same way as RDP on Windows.)

 

As soon as the X11 client applications notice the X server is no longer accessible, they will abort. The protocol assumes that the X server will stay in the same IP address for the length of a X11 session: if the IP address of your workstation changes (because you moved it to a different network segment), the connections will definitely be broken.

 

But there is a workaround for setting up reconnectable X sessions: you need Xvnc or a similar VNC server running on your Linux host. This will act as X server for your X11 client applications, and will provide a VNC server to which you can connect with a VNC client from your workstation. You can disconnect the VNC connection and leave the session running: the Xvnc will keep acting as a X server to keep your X11 applications happily running. When you reconnect, you'll be reattached to your X session.

 

Most Linux distributions have Xvnc or a similar available as an optional package in their package collection. To install it, use the package manager of your Linux distribution.

MK