Bug 848010 - monitor should give some friendly prompts when change the VNC password
Summary: monitor should give some friendly prompts when change the VNC password
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kvm
Version: 5.9
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Virtualization Maintenance
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-14 10:06 UTC by Sibiao Luo
Modified: 2013-03-28 19:14 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-28 19:14:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Sibiao Luo 2012-08-14 10:06:26 UTC
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.

Comment 1 Sibiao Luo 2012-08-14 10:45:37 UTC
(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) 
>


Note You need to log in before you can comment on or make changes to this bug.