Using Ubuntu 12.0.4 LTS and need to enable x11vnc access with admin and viewonly access based on which vnc password is supplied.
The x11vnc server gets started out of
/usr/bin/x11vnc -forever -rfbauth ~/.vnc/x11vnc.pass -o ~/.vnc/x11vnc.log -display :0
I can create the password file and set a full access password via
$ x11vnc -storepasswd 'test1pwd' ~/.vnc/x11vnc.pass stored passwd in file: /home/rxclient/.vnc/x11vnc.pass
Using vncviewer from another system, the login works
$ vncviewer wks13 Connected to RFB server, using protocol version 3.8 Performing standard VNC authentication Password: <test1pwd> Authentication successful Desktop name "wks13:0"
No matter what I've tried, I cannot get a second, viewonly passwd to work using the
-rfbauth on the server.
The only thing that worked was to create a clear-text file with two passwords and changing the
-rfbauth, the full access password works, the viewonly passwd results in a password check failed message.
Would appreciate instructions/clarification on how to set up x11vnc to use
-rfbauth and two non-cleartext passwords, one for full access, one for viewonly.