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 876444

Summary: RHEL guest cannot extend its desktop to 2nd monitor after connect to it with remote-viewer for several times
Product: Red Hat Enterprise Linux 6 Reporter: Geyang Kong <gkong>
Component: virt-viewerAssignee: Marc-Andre Lureau <marcandre.lureau>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 6.4CC: acathrow, cfergeau, codong, cwei, dallan, dblechte, lcui, lnovich, marcandre.lureau, mjenner, mkrcmari, mzhan, tzheng, vehrlich, zpeng
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: virt-viewer-0.5.6-1.el6 Doc Type: Bug Fix
Doc Text:
Cause: Runing virt-viewer in fullscreen. Consequence: Randomly creates mirror monitors. Fix: Keep the association of client window and monitors. Result: Extra monitors are can no longer become mirror monitor randomly.
Story Points: ---
Clone Of:
: 920988 (view as bug list) Environment:
Last Closed: 2013-11-21 08:04:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 920988, 947046, 960054    
Attachments:
Description Flags
debug log none

Description Geyang Kong 2012-11-14 07:35:25 UTC
Description of problem:
  RHEL guest cannot extend its desktop to 2nd monitor after connect to it with remote-viewer for several times.

Version-Release number of selected component (if applicable):
virt-viewer-0.5.2-16.el6.x86_64
spice-server-0.12.0-2.el6.x86_64
spice-glib-0.14-5.el6.x86_64
spice-gtk-tools-0.14-5.el6.x86_64
spice-gtk-python-0.14-5.el6.x86_64
spice-vdagent-0.8.1-3.el6.x86_64
spice-gtk-0.14-5.el6.x86_64
spice-protocol-0.12.2-1.el6.noarch

How reproducible:
Sometimes, about 95%

Reproduce steps:
1. Have a notebook computer and plugged another display to its VGA interface.
2. Install a rhel guest on it, make sure it has spice+qxl device and spicevmc channel.
3. Update spice-vdagent and xorg-x11-drv-qxl
4. Run remote-viewer spice://127.0.0.1:5900 --full-screen=auto-conf
5. Close remote-viewer.
6. Repeat step 4 and 5 for several times.

Actual results:
1. After step 6, 2nd monitor becomes to a mirrored one.

Expected results:
1. 2nd monitor should be an extended monitor.

Additional info:

Comment 1 Geyang Kong 2012-11-14 07:36:47 UTC
Created attachment 644605 [details]
debug log

Comment 3 Marian Krcmarik 2012-12-04 19:52:23 UTC
I can reproduce this:
1. Get dual screen physical setup.
2. Connect to a guest with remote-viewer.
3. Go to fullscreen (even with one guest screen VM).
4. change resolution within the guest

-> suddenly two mirrored screen shows up.

Note sure this is a bug of virt-viewer, mostl likely spice-vdagent.

Comment 6 Marc-Andre Lureau 2013-05-09 23:34:06 UTC
*** Bug 908822 has been marked as a duplicate of this bug. ***

Comment 15 CongDong 2013-07-08 03:26:11 UTC
I can reproduce this bug:

Version and Steps are same as description.

result:
1. After step 6, 2nd monitor becomes to a mirrored one.

Verify:
# rpm -qa | grep spice
spice-gtk-0.20-1.el6.x86_64
spice-client-0.8.2-15.el6.x86_64
spice-glib-0.20-1.el6.x86_64
spice-vdagent-0.14.0-1.el6.x86_64
spice-server-0.12.3-1.el6.x86_64
spice-gtk-python-0.20-1.el6.x86_64
# rpm -qa virt-viewer
virt-viewer-0.5.6-1.el6.x86_64

Steps:
Same as description.

Result:
2nd monitor should be an extended monitor.

Comment 17 errata-xmlrpc 2013-11-21 08:04:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1578.html