Bug 760896

Summary: kvm don't support NULL vnc password
Product: Red Hat Enterprise Linux 6 Reporter: FuXiangChun <xfu>
Component: qemu-kvmAssignee: Gerd Hoffmann <kraxel>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 6.3CC: acathrow, bsarathy, gyue, juzhang, michen, mkenneth, rhod, tburke, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-08 08:07:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description FuXiangChun 2011-12-07 10:00:53 UTC
+++ This bug was initially created as a clone of Bug #760874 +++

Description of problem:
if set a NULL vnc password,viewview will show authentication failed. 

Version-Release number of selected component (if applicable):


How reproducible:
# rpm -qa|grep kvm
kvm-83-246.el5
# uname -r
2.6.18-300.el5

Steps to Reproduce:
1.1./usr/libexec/qemu-kvm  -M rhel5.6.0 -m 4096 -smp
4,cores=2,threads=1,sockets=2 -cpu qemu64,vendor="AuthenticAMD",+sse2 -soundhw
all -name win7 -usbdevice tablet -rtc-td-hack -uuid
123465d2-2032-848d-bda0-de7adb149048 -boot c -drive
file=/home/rhel6.2.z-64.qcow2,if=virtio,boot=on,bus=0,unit=0,format=qcow2,cache=none,boot=on,werror=stop
-net nic,macaddr=54:52:00:27:12:23,vlan=0,model=virtio -net
tap,vlan=0,script=/etc/qemu-ifup -serial pty -parallel none -usb -balloon none
-monitor stdio -vnc :1,password

2.set NULL password
(qemu) change vnc password
Password:(input enter)
3.use vncview and password(NULL) to connect des guest 
  vncviewer 10.66.9.97:5901
  
Actual results:
authentication failed

Expected results:
vncview login des guest successful or don't allow to set a NULL password

Additional info: