12

Under unix/linux, there is this extremely useful program screen: it's for bash, text-only, and I can detach a session, log out (the session is still running though), log in later (even from a different computer) and resume the session exactly as I left it.

My question is, is there an equivalent to screen for X?

So what I want to do is: work remotely with ssh -X in an X-session on a remote linux machine, log out, then later log in from a different computer again with ssh -X and then re-attach the X-session; practically resuming work from the moment when I logged out before. Is this possible?

7

I am having success in using xpra

| improve this answer | |
3

Why not just use VNC?

So long as you don't log out (thus closing all your running applications etc) your system will stay in the exact same state no matter how many times you disconnect/reconnect.

| improve this answer | |
  • 4
    With X-forwarding, the applications can appear as running on the computer you're forwarding them to, whereas with VNC you're limited to working inside a forwarded desktop. That is, X-forwarding gives a more native feel. – Sebastian Paaske Tørholm Jun 2 '11 at 15:36
2

More a question for unix.stack but have a look at x11vnc. Things will work a bit differently, you won't be using ssh -X but use the VNC protocol. In shared mode, disconnecting VNC will not log out the X session.

| improve this answer | |
0

I use NoMachine at work and at home. It uses ssh. I happen to use the Windows client, but clients are available for Linux and Mac, too.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy