Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 725350

Summary: start guest with multiple vnc desktop number,only can connect successfully the last via vncviewer.
Product: Red Hat Enterprise Linux 6 Reporter: FuXiangChun <xfu>
Component: qemu-kvmAssignee: Virtualization Maintenance <virt-maint>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 6.2CC: bcao, juzhang, michen, mkenneth, tburke, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Windows   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-11 21:48:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description FuXiangChun 2011-07-25 09:28:58 UTC
Description of problem:
only the last desktop number can be connected successfully via vncviewer. it will lead to that multiple user can not concurrently connect windows guest via vncviewer.

Version-Release number of selected component (if applicable):
# uname -r
2.6.32-131.0.15.el6.x86_64
# rpm -qa|grep kvm
qemu-kvm-0.12.1.2-2.171.el6.x86_64

How reproducible:


Steps to Reproduce:
1./usr/libexec/qemu-kvm -M rhel6.1.0 -enable-kvm -m 4G -smp 2,sockets=2,cores=1,threads=1 -name rhel6 -uuid 745fe449-aac8-29f1-0c2d-5042a707263b -boot c -drive file=win03.qcow2,if=none,id=drive-ide0-0-0,format=qcow2,cache=none,aio=threads -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -netdev tap,id=hostnet1,vhost=on,script=/etc/qemu-ifup -device virtio-net-pci,netdev=hostnet1,mac=00:12:17:18:49:01,bus=pci.0,id=virtio-net-pci1 -monitor stdio  -vnc :1 -vnc :2 -vnc :3 -vnc :4 -vnc :5
2.vncviewer 10.66.9.25:1(refused)
3.vncviewer 10.66.9.25:2(refused)
4.vncviewer 10.66.9.25:3(refused)
5.vncviewer 10.66.9.25:4(refused)
6.vncviewer 10.66.9.25:5(success)
  
Actual results:
only connect to the late vnc desktop number(5) successfully. others vnc desktop number will be refused 

Expected results:
all vnc desktop numbers can be connected successfully. 



Additional info:

Comment 2 juzhang 2011-07-25 10:11:29 UTC
> Expected results:
1. all vnc desktop numbers can be connected successfully. 
2. if we don't support multi vnc client, qemu-kvm process should not be booted successfully if attached more than one  -vnc :1 -vnc :2

Comment 3 Mike Cao 2011-07-25 10:53:31 UTC
FYI,seems our management tool wills handle it 

I tried it with virt-manager 

Actual Results:
"Unable  to complete install : 'internal error only 1 graphics device is supported"


also tried with RHEVM

Acutual Results:
only could add one vnc desktop numbers .no option to add the second graphics device.

Comment 4 juzhang 2011-07-26 02:08:10 UTC
(In reply to comment #3)
> FYI,seems our management tool wills handle it 
> 
> I tried it with virt-manager 
> 
> Actual Results:
> "Unable  to complete install : 'internal error only 1 graphics device is
> supported"
> 
> 
> also tried with RHEVM
> 
> Acutual Results:
> only could add one vnc desktop numbers .no option to add the second graphics
> device.

Since management tool can control it,downgrade priority to low.we had better handle it in our qemu-level as well.

Comment 5 Dor Laor 2011-08-11 21:48:27 UTC
Low priority