Skip to contentSkip to conversation

Bug(?): Can't unset vnc password (v1.0)

Qemu-devel Reeted 2 participants 3 messages Mar 30, 2012 – Mar 31, 2012

lore
Share & tools
lore

Reeted

author
#0 lore raw

In qemu-kvm 1.0 (from ubuntu Precise) I don't seem to be able to UNSET the vnc password once it has been set via qemu monitor.
I can set it to "" which is empty password, but a VNC client connecting still asks to enter a password. It does log in if I enter the empty string, but I think it should not ask the password at all. Or is there any other way to disable password authentication, different from setting an empty password string?
Note: I am using set_password from qemu-monitor (actually libvirt's qemu-monitor-command).

Thank you

#1 lore raw
Quoted 9 lines · Reeted

In qemu-kvm 1.0 (from ubuntu Precise) I don't seem to be able to UNSET the vnc password once it has been set via qemu monitor. I can set it to "" which is empty password, but a VNC client connecting still asks to enter a password. It does log in if I enter the empty string, but I think it should not ask the password at all. Or is there any other way to disable password authentication, different from setting an empty password string?
Note: I am using set_password from qemu-monitor (actually libvirt's qemu-monitor-command).

QEMU must *not* change the VNC authentication method as a side effect of setting a password.

QEMU does not have any monitor command to let you change the auth method specified from the command line, but such a command would be a welcome addition.

Regards,
Daniel

Signature · 4 lines
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|
author
#2 lore raw
Quoted 7 lines · Daniel P. Berrange
Quoted 4 lines · Reeted

In qemu-kvm 1.0 (from ubuntu Precise) I don't seem to be able to UNSET the vnc password once it has been set via qemu monitor. I can set it to "" which is empty password, but a VNC client connecting still asks to enter a password.....

QEMU must *not* change the VNC authentication method as a side effect of setting a password.

Well, then there is the opposite bug:

If you start qemu with no vnc password set (client enters without authentication), then you set a vnc password via qemu-monitor, now the client needs password authentication. Can you confirm this is not the intended behaviour?