action #11794
closedFeature 319335: VNC: Secondary viewonly password
100%
Description
For details see https://fate.suse.com/319335
Feature is set to "Validation"= Done!
Testcase:
First use vncpasswd tool to create passwd file.
vncpasswd /tmp/file.passwd
Password:
Verify:
Would you like to enter a view-only password (y/n)? y
Password:
Verify:
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 &
DISPLAY=:1 xev
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.
Updated by mkravec about 7 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 90
Updated by okurz about 7 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
Updated by mkravec about 7 years ago
Last 7 builds did not reach extra tests group - so not yet, but test is set up
Updated by mkravec about 7 years ago
- Status changed from In Progress to Resolved
Updated by mkravec about 7 years ago
- Status changed from Resolved to In Progress
Failing in some cases: https://openqa.suse.de/tests/506339#step/vnc_two_passwords/18
Updated by mkravec about 7 years ago
- Status changed from In Progress to Resolved
Should be fixed by https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/1663