Description of problem: boot guest with '-vnc :1,password' and change the password associated with the VNC server in QEMU monitor. the monitor should give some friendly prompts when change the VNC password as following, 1).if the new password is not supplied (just press Enter key), the monitor should prompt for it to be entered. 2).if the VNC passwords are more than 8 letters, the monitor should prompt that VNC passwords are only significant upto 8 letters. Version-Release number of selected component (if applicable): host info: # uname -r && rpm -q kvm 2.6.18-336.el5 kvm-83-259.el5 guest info: kernel-2.6.32-279.7.1.el6 How reproducible: 100% Steps to Reproduce: 1.boot guest with '-vnc :1,password'. 2.change the password associated with the VNC server in QEMU monitor. (qemu) change vnc password Password: <--- passwd: null, just press Enter key (qemu) (qemu) change vnc password Password: ******************** <--- passwd: 12345678901234567890 (qemu) Actual results: after the step 2, 1).if passwd=null, the monitor did not give any prompts and fail to connect the guest using vnc client with null password. 2).if passwd=12345678901234567890, the monitor and vnc client did not give any prompts we can use 12345678xx...xx as password to connect the guest. Expected results: monitor should give some friendly prompts when change the VNC password. Additional info: I also test the rhel6.3 guest on the rhel6.3 host also hit this issue.
(In reply to comment #0) > Description of problem: > boot guest with '-vnc :1,password' and change the password associated with > the VNC server in QEMU monitor. the monitor should give some friendly > prompts when change the VNC password as following, > 1).if the new password is not supplied (just press Enter key), the monitor > should prompt for it to be entered. > 2).if the VNC passwords are more than 8 letters, the monitor should prompt > that VNC passwords are only significant upto 8 letters. > > > Steps to Reproduce: > 1.boot guest with '-vnc :1,password'. > 2.change the password associated with the VNC server in QEMU monitor. > (qemu) change vnc password > Password: <--- passwd: null, just press Enter key acording to the bz 760896, maybe the KVM donot support null password for VNC. > (qemu) change vnc password > Password: ******************** <--- passwd: 12345678901234567890 > (qemu) >