InstallX11VncOnLtspClients

Revision 7 as of 2008-01-26 18:54:48

Clear message

This is the quick HowTo to get x11vnc running on thin clients so you can connect to them using a vncviewer or the thin client manager app. note that this doc doesnt take security into account, if you want a safe solution enable a password for x11vnc

Before installing in the ltsp environment, make sure that apt-get sources in ltsp are consistent with the base install:

sudo cp /etc/apt/sources.list /opt/ltsp/i386/etc/apt/sources.list

Now, chroot into the ltsp client environment on the server.

sudo chroot /opt/ltsp/i386

Update the repositories that the ltsp environment uses for apt-get:

apt-get update

Install the x11vnc package (it's in the universe repository, possibly you must add it in /etc/apt/sources.list; in this case don't forget to apt-get update):

apt-get install x11vnc

Now edit the rc.local file to add x11vnc to the system startup (note: make sure this is all being done in the chroot environment and not the root of the server)

vi /etc/rc.local

Add the following line before the exit 0 statement in this file and save it:

x11vnc -display :6 -forever -loop -shared &

Now lets make sure rc.local gets actually executed:

cd /etc/rc2.d
mv K99rc.local S99rc.local

Reboot your thin clients and you should be able to connect to them via vnc now.