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
9 # untrusted! For a secure way of using VNC, see
10 # <URL:http://www.uk.research.att.com/archive/vnc/sshvnc.html>.
12 # Use "-nolisten tcp" to prevent X connections to your VNC server via TCP.
14 # Use "-nohttpd" to prevent web-based VNC clients connecting.
16 # Use "-localhost" to prevent remote VNC clients connecting except when
17 # doing so through a secure tunnel. See the "-via" option in the
18 # `man vncviewer' manual page.
20 # VNCSERVERS="2:myusername"
21 # VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -nohttpd -localhost"