I have been fighting with enabling and securing access to our exported
display :0 (via vnc.so and XF86Config) on all our SuSE distributions in
our lab, including SLES8, SLES 9, and the various flavors of SuSe 9.x.

I saw the web site at http://www.realvnc.com/v4/x0.html and had tried
various combinations of the following options:

Option "passwordFile" "/.vnc/passwd"
Option "securityTypes" "vncAuth"

and using various file permissions on the password file and parent
directories, but each time it let me in without requiring a vnc session
password, with no visible warnings or errors about the passwordFile
option.  I discovered by google and trial that I could possibly use
other options available to normal command-line versions of Xvnc.  My
Xvnc doesn't show a "passwordFile" option, but an "rfbAuth", "auth" and
"loginAuth" option, so I tried:

Option "rfbAuth" "/.vnc/passwd"

And it WORKED!!  I don't know what the other options do or when I would
need them since useful documention is a PITA to find.

So are the VNC versions in the SuSE distributions whacked or is the
documention at the link above just wrong!?  I have spent a lot of time
trying this out and am very FRUSTRATED at the lack of explanation in the
documentation on configuring this method of access, including the use
and placement of the options and sections, including but not limited
to:

Option "usevnc" //used in the Driver section of the video driver being
used
Option "securityTypes" "none|???vncAuth|???"  //not a lot of info on
what securityTypes are really supported
//What other options are useful to know?????

//New sections
//This one is apparently optional
Section "InputDevice"
  Identifier "vncMouse"
  Driver "rfbMouse"
EndSection

//Not optional if you want to type.
Section "InputDevice"
  Identifier "vncKeyboard"
  Driver "rfbkeyb"
EndSection

//Put these in the ServerLayout Section
InputDevice "vncKeyboard" "ExtraKeyboard"  //Not optional.  No keyboard
input if not used
InputDevice "vncMouse" "ExtraPointer"  //optional  Mouse seems to work
without it

The documentation at http://www.realvnc.com/v4/x0.html need a LOT of
enhancment to explain the configuration and options in more detail. 
What is there is not sufficient to get even a basic setup working.  Why
does rfbAuth work and passwordFile not?  Why does the mouse work if I
don't load the rfbMouse driver, but the keyboard not work without the
rfbkeyb driver?

Regardless, the full-access and view-only access passwords are nice,
once I got it working. 
_______________________________________________
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to