VNC Module
The LTSP VNC module enables a person to remotely monitor terminals.
Configuration
In order to enable the VncModule:
1. Add the following to your
/opt/ltsp/i386/etc/lts.conf
X4_MODULE_01 = vnc
2. Create a passwd file, and copy it to
/opt/ltsp/i386/root/.vnc/passwd
# vncpasswd
Password:
Verify:
# cp -R -p /root/.vnc /opt/ltsp/i386/root/
3. Connect with
vncviewer, replacing
<hostname>|<hostIP> with the name or IP address of the terminal you want to monitor, and enter the password when prompted:
# vncviewer <hostname>|<hostIP>
VNC server supports protocol version 3.8 (viewer 3.3)
Password:
VNC authentication succeeded
Desktop name "x11"
Connected to VNC server, using protocol version 3.3
Inserting VNC module in existing xorg.conf
If you have terminals with special
xorg.conf=s defined in =lts.conf, you have to insert the VNC module there.
1. Add the following to
section "Module":
Load "vnc"
2. Add the following to
section "Screen":
Option "passwordFile" "/root/.vnc/passwd"
(Tested and running on
OpenSuSE? 10.0.)
Troubleshooting
- VNC allows a connection, but will not accept the password
- Verify that the
/opt/ltsp/i386/root/.vnc/passwd is readable on the remote terminal
- (keep in mind that the kernel based NFS server ignores no_root_squash)
--
ChrisBennett - 11 Jul 2006
Related pages