Tightvncserver installation


Hello, could you guide me how to install tightvncserver or similar on UCC 3?

Best regards,

Michael Voigt



(1) separate X session with tightvncserver

  • install and start vnc server
-> apt-get update
-> apt-get install tightvncserver
-> tightvncserver :1
You will require a password to access your desktops.
Warning: password truncated to the length of 8.
Would you like to enter a view-only password (y/n)? n

New 'X' desktop is markus:1

Starting applications specified in /home/fbotner/.vnc/xstartup
Log file is /home/fbotner/.vnc/markus:1.log
  • connect to vnc server
vncviewer hostname:5901
  • and stop
tightvncserver -kill :1
  • The password can be stored in $HOME/.vnc/passwd with the vncpasswd tool and the X session can be configured in the bash script $HOME/.vnc/xstartup

(2) vnc server attached to current screen with x11vnc

  • install and start x11vnc (assuming that there is a running X session on display :0)
-> apt-get update
-> apt-get install x11vnc
-> x11vnc -noxdamage  -display :0 -auth /var/run/lightdm/root/\:0  --accept popup
  • connect
-> vncviewer hostname

More information can be found here:

Best regards,


That helped a lot, thank you very much.
It worked like a glove.

Best regards,