r4 - 15 May 2007 - 20:25:52 - AndrewZYou are here: TWiki >  Ltsp Web  >  LTSP-42 > VncModule

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

Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r4 < r3 < r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback