I'm using X11 forwarding over ssh to run Linux apps on my Windows box, and when the network drops the lose everything that was running. Is there anything similar to screen for X11?
|
Xpra claims to be exactly that:
I haven't used it in a while, but it worked pretty well when I tried it. You start the server on the remote machine:
Then you attach to the server from your local machine:
And now anything displayed on X display 13 on the remote machine will appear locally:
|
|||
|
You're looking for VNC. The principle somewhat is similar to screen: you run a VNC server (the backgound Run a VNC server on the Linux box and a client on the Windows box. You have several implementations to choose from; one possibility is TightVNC. TightVNC is in many Linux distributions (if it's not in yours, either install it or pick a different implementation), and there's a Windows client. If your two machines aren't very close on the network — if there's a firewall or a risk of eavesdropper between them — you'll need to tunnel the VNC traffic through ssh. Have ssh forward the local port 5900 to the remote port 5900 (5900 corresponds to the display |
|||
|
|
screen? OrXVNC? You run screen on the Linux machine and when your network drops, reconnect and usescreen -DRto reattach the session. – nix Apr 4 '11 at 19:34screenworks for gui apps. – Abdullah Jibaly Apr 4 '11 at 19:51