Adam Tkac 7535a9d
# The VNCSERVERS variable is a list of display:user pairs.
Adam Tkac 7535a9d
#
Adam Tkac 7535a9d
# Uncomment the lines below to start a VNC server on display :2
Adam Tkac 7535a9d
# as my 'myusername' (adjust this to your own).  You will also
Adam Tkac 7535a9d
# need to set a VNC password; run 'man vncpasswd' to see how
Adam Tkac 7535a9d
# to do that.  
Adam Tkac 7535a9d
#
Adam Tkac 7535a9d
# DO NOT RUN THIS SERVICE if your local area network is
Adam Tkac 74307eb
# untrusted!  For a secure way of using VNC, see this URL:
Adam Tkac 74307eb
# http://kbase.redhat.com/faq/docs/DOC-7028
Adam Tkac 7535a9d
Adam Tkac 7535a9d
# Use "-nolisten tcp" to prevent X connections to your VNC server via TCP.
Adam Tkac 7535a9d
Adam Tkac 7535a9d
# Use "-localhost" to prevent remote VNC clients connecting except when
Adam Tkac 7535a9d
# doing so through a secure tunnel.  See the "-via" option in the
Adam Tkac 7535a9d
# `man vncviewer' manual page.
Adam Tkac 7535a9d
Adam Tkac 7535a9d
# VNCSERVERS="2:myusername"
Adam Tkac 66063c9
# VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -localhost"