InstallX11VncOnLtspClients

Differences between revisions 10 and 12 (spanning 2 versions)
Revision 10 as of 2008-01-29 14:29:16
Size: 1604
Editor: 194
Comment:
Revision 12 as of 2008-01-29 16:09:58
Size: 1653
Editor: slestack
Comment:
Deletions are marked like this. Additions are marked like this.
Line 44: Line 44:
Ubuntu/Edubuntu 7.10 and onwards Exit the chroot environment:
{{{
exit
}}}
Line 46: Line 49:
Make sure that the ltsp image gets updated: Ubuntu/Edubuntu 7.10 and onwards - Make sure that the ltsp image gets updated:

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

Exit the chroot environment:

exit

Ubuntu/Edubuntu 7.10 and onwards - Make sure that the ltsp image gets updated:

sudo ltsp-update-image

If you are using an i386 image on an AMD64 build the command is:

sudo ltsp-update-image --arch i386

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

InstallX11VncOnLtspClients (last edited 2008-08-06 16:31:41 by localhost)