Ubuntu – How to keep a remote X11 app running after disconnecting SSH

processremotesshxorg

I've got X11 forwarding on so I can see program windows on my server from my desktop, I'm wondering if I disconnect from the ssh session with the x11 forwarding to my PC, will that program close on the server side upon disconnecting? If it does, is there a way to prevent that?

I have MEGASync running on my server and it needs an X server running to use it, I cannot use VNC because iptables is acting strangely, can't open the port properly. I'd like to keep megasync running on the server without having to stay connected to SSH so I can turn my PC off.

Any way to do this?

Best Answer

Xpra seems to be exactly what you are looking for. It's a bit like screen or tmux but for X11 applications.

See this answer on http://unix.stackexchange.com for an example.

Related Question