August 14, 2009

Reconnecting a x-client running through ssh to another x-server?

Is it possible to disconnect a running x-client from one x-server and connect it to another?

I'm running an x-server on my computer at work, and use ssh in an xterm to start x-clients on one of my computers at home, displaying the windows on my computer at work.

Is it possible in some way - preferbly without any additional software - to disconnect the x-clients from the x-server without terminating them, and reconnect them at another computer running an x-server (another of my computers at home)?

If it can only be done without using ssh, by starting the clients in some special way (ala nohup), or if I'll need to use some extra (like screen) or special (???) software; I'm open for that too... but as I have the clients running right now, I'd prefer to disconnect them as they are if possible.

 

I have not yet found a way to tell a running application to switch screens...

I have not yet found a way to tell a running application to switch screens when they are run from a remote computer.

As I see it you want the application to stay running on the remote computer's active screen upon termination of the remote connection, it seems the only way to do that would be to use a remote desktop application such as vnc to access the remote screen and do your work directly from the desktop of the remove computer.

Like  (0 likes)

Tried with screens but without success.I definitively make use of VNC with...

Tried with screens but without success.
I definitively make use of VNC with SSH, just configure your desk with a light WM and use your programs from it

Like  (0 likes)

One possibility would be running VNC through an SSH tunnel. VNC allows...

One possibility would be running VNC through an SSH tunnel. VNC allows disconnecting to desktop and reconnecting with open windows. Most distros have a VNC package in their repos. Some distros install it by default.

Hope this helps.

Like  (0 likes)
Click Here!