Feature 319335: VNC: Secondary viewonly password
For details see https://fate.suse.com/319335
Feature is set to "Validation"= Done!
First use vncpasswd tool to create passwd file.
Would you like to enter a view-only password (y/n)? y
Old version wouldn't ask you for the view-only password, new version does.
Next start VNC server that uses the file for authentication. Let's start empty Xvnc with xev running inside:
Xvnc :1 -SecurityTypes=VncAuth -PasswordFile=/tmp/file.passwd &
Then connect to it with your favorite VNC viewer. You can do it using vncviewer:
vncviewer localhost:1 -SecurityTypes=VncAuth
You will be asked to enter password. If you enter the first password, you can move mouse and type in the xev window and you should see that the events are being delivered in the xev output. If you enter the view-only password, your mouse and keyboard should be ignored.
#4 Updated by okurz about 5 years ago
PR merged: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/1627
seems to work fine, see http://dhcp91.suse.cz/tests/2011
#9 Updated by mkravec about 5 years ago
- Status changed from Resolved to In Progress
Failing in some cases: https://openqa.suse.de/tests/506339#step/vnc_two_passwords/18
#10 Updated by mkravec about 5 years ago
- Status changed from In Progress to Resolved
Should be fixed by https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/1663