Bug 848010 - monitor should give some friendly prompts when change the VNC password
monitor should give some friendly prompts when change the VNC password
Status: CLOSED WONTFIX
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kvm (Show other bugs)
5.9
x86_64 Linux
medium Severity medium
: rc
: ---
Assigned To: Virtualization Maintenance
Virtualization Bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-14 06:06 EDT by Sibiao Luo
Modified: 2013-03-28 15:14 EDT (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-03-28 15:14:44 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Sibiao Luo 2012-08-14 06:06:26 EDT
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 06:45:37 EDT
(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.