SecurityType=VncAuth fails for no reason

Ronald ronald645 "at" gmail.com
Mon Mar 5 09:32:01 2007


I'm trying to secure my VNC server with a simple password. I use the 
inetd to start VNC. However, every time I try to use VncAuth with many 
combinations of PassWordFile, PassWord, and other parameters. I get an 
error that no password is found for VncAuth.

I tried using vncpasswd to generate the file and point some parameters 
to it. But nothing seems to work. I searched www.realvnc.com, the 
mailingslists.. nothing...

This is my xinetd file without VncAuth which works good. (kinda useless 
including it when it doesn't work)

 >>><<<
service vnc1024
      {
        disable     = no
        socket_type = stream
        protocol    = tcp
        wait        = no
        user        = nobody
        server      = /usr/bin/Xvnc
        server_args = -inetd -xinerama SecurityTypes=none -kb 
NeverShared=1 -tst SendCutText=0 AcceptCutText=0 BlacklistThreshold=1 
BlacklistTimeout=999 -dpms -su -r -query 127.0.0.1 -geometry 1024x768 
-depth 24 -once -fp unix/:7100
      }
 >>><<<

What do I need to do to include VncAuth?