1 # The VNCSERVERS variable is a list of display:user pairs.
3 # Uncomment the lines below to start a VNC server on display :2
4 # as my 'myusername' (adjust this to your own). You will also
5 # need to set a VNC password; run 'man vncpasswd' to see how
8 # DO NOT RUN THIS SERVICE if your local area network is untrusted!
10 # Use "-nolisten tcp" to prevent X connections to your VNC server via TCP.
12 # Use "-localhost" to prevent remote VNC clients connecting except when
13 # doing so through a secure tunnel. See the "-via" option in the
14 # 'man vncviewer' manual page.
16 # VNCSERVERS="2:myusername"
17 # VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -localhost"