[dundee] Detaching from X11 forwarding sessions
Simon Iremonger
enyc-lugs at sheer.us
Thu Jul 7 13:56:46 UTC 2011
>> yes I am, but when you close the ssh session any x11 forwarded apps close
>> along with the session. I want to avoid this and retain the ability to
>> reconnect to the gui from another session later on.
> http://blog.nelhage.com/2010/05/using-x-forwarding-with-screen/
> azmodie
As far as I can *tell*, that looks like, it is about making
X11 programs started through screen, come out in the right
place when the screen gets attached/deattached -- the
author mentions temporarilly popping up gitk, etc.
I don't think it is about allowing the X11 program to 'keep going'.
Infact, it says that, explicitly in the 4th paragraph!
VNC may well be worth trying (simpler setup than NX/freenx).
What you do is get the 'vncserver' (Xvnc) running, which creates
an X11 "DISPLAY" on no physical display, making this accessible
via VNC. You can use screen or just background the process
to keep the program running, connected to the Xvnc display.
You can then use vncviewer of any sort to connect to (view,
control) this display, and can disconnect/reconnect as you like.
You can forward VNC over ssh, if you want it encrypted.
Though, you then have a 'fixed sized' "window" for the x11-vnc
and its' not "integrated" to local display in the way X11
forwarding would be. Worth a try, I think!
Hope that helps,
--Simon
(non-local, mailing list lurker...)
More information about the dundee
mailing list