[wellylug] X-Windows Display

Joel Wiramu Pauling joel.pauling at vuw.ac.nz
Thu Feb 23 00:04:23 NZDT 2006


On Tue, 2006-02-21 at 20:46 +1300, Andrew McClure wrote:
> Excellent Ewen
> 
> I'll investigate further.
> 
> Thanks
> 
> 
> At 20:42 21/02/2006, you wrote:
> >In message <6.2.3.4.2.20060221194705.03296d10 at guy>, Andrew McClure writes:
> > >What I'd like to do is be able to start an X-Windows app. on start
> > >up, and send it to a null, or terminal display, then subsequently
> > >login remotely and capture its window via an X-Windows terminal
> > >client - perhaps relinquishing it again, but not closing the app.

x11vnc is the particular vncserver you want... it attaches to an already
existing X display. 

Getting the display running initially can be a pain. There is the xvfb
(x virtual frame buffer) server for X which allows you to run headless X
but it's a bit out of date and buggy.

It normally easy to actually just have a proper X display setup as per
normal on the machine and then use x11vnc to attach to it.

x11vnc has the advantage that you only run it while you are connected.

i.e ssh -L5900:127.0.0.1:5900 user at remote; x11vnc -display:0
then run the vnc client to connect locally to the forwarded port.


This also makes it secure =-)




More information about the wellylug mailing list