[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[K12OSN] Remote control of ltsp-clients with VNC



This is how we enable remote control of the ltsp-clients...

Login at the terminalserver as root. Edit /opt/ltsp/i386/etc/lts.conf and add:

X4_MODULE_02 = vnc

Then edit the file /opt/ltsp/i386/etc/build_x4_cfg
 and add the following under 'Secton "Screen"' (but over 'EndSubSection'), so it looks
like this:

 Section "Screen"
       Identifier "Screen0"
       Device "My Video Card"
       Monitor "My Monitor"
       DefaultDepth  ${X_COLOR_DEPTH:-16}
       Subsection "Display"
               Depth ${X_COLOR_DEPTH:-16}
               Modes ${MODE[*]}
               Option "httpdir" "/usr/share/vnc/classes"
               Option "PasswordFile" "/root/.vnc/passwd"
               Option "rfbport" "5900"
               Option "usevnc"
       EndSubSection
 EndSection

Now you'll have to make a password for the vnc-session. Run this command:

 [root ts01 ~]$ /usr/bin/vncpassword

Choose a password and copy the password file into the ltsp-tree

 [root ts01 ~]$ cp -R -p /root/.vnc /opt/ltsp/i386/root/

Now you must copy the vnc-module and some libraries into the ltsp-tree:

 [root ts01 ~]$ cp /usr/X11R6/lib/modules/extensions/vnc.so
/opt/ltsp/i386/usr/X11R6/lib/modules/extensions/
 [root ts01 ~]$ cp /usr/lib/libstdc  .so.6 /opt/ltsp/i386/usr/lib/
 [root ts01 ~]$ cp /lib/libgcc_s.so.1 /opt/ltsp/i386/lib/

I am told that you should make this link also, I am not sure if its necessary, but we'll
do it:

 [root ts01 ~]$ ln -s /lib/libgcc_s.so.1_backup /opt/ltsp/i386/lib/libgcc_s.so -f

Reboot the ltsp-client and use 'vncviewer' with ip og hostname to shadow the client.

Good luck... works like a charm. It may not be most secure way of doing it. But it's
fast and it works.


"!" from Odin


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]