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.
The first guest display was re-enabled after a guest reboot even when it was previously disabled on the guest. This update removes the fixed association between the the main guest window and a specific guest display number, which prevents the problem from occurring.
Created attachment 827093[details]
sceenshot of the issue
Description
Display 1 always pop out when using virt-viewer to relaunch guest
Version:
libvirt-0.10.2-29.el6.1.x86_64
virt-viewer-0.5.6-8.el6.x86_64
spice-gtk-python-0.20-11.el6.x86_64
spice-xpi-2.7-24.el6.x86_64
spice-vdagent-0.14.0-2.el6.x86_64
spice-glib-0.20-11.el6.x86_64
spice-gtk-0.20-11.el6.x86_64
spice-server-0.12.4-6.el6.x86_64
How reproducible:
100%
Steps to Reproduce:
1.Prepare a spice guest with qxl and spicevmc.
2.Boot the guest,use virt-viewer to launch the guest,disable display 1 and enable other displays,eg:display 2.
# virt-viewer $guest --spice-debug --debug > spice-debug-1.log
3.Close virt-viewer.
4.Use virt-viewer to relaunch the guest,both display 1 and display 2 will be launched,display 1 will show:waiting for display 1,see the screenshot.
# virt-viewer $guest --spice-debug --debug > spice-debug-2.log
Actual results:
As description.
Expected results:
Step 4,only display 2 launched.
Additional info:
1.Attached the spice debug info.
2.The issue can also be reproduced on rhel7.
Hi jjongsma:
I found a problem, but I'm not sure it's same with this or not.
Could you help me to check it?
I test with virt-viewer-0.6.0-7.el6
Steps:
1. use virt-viewer to connect a rhel spice guest
#virt-viewer $vm
2. enable 4 displays
Click "View" -> "Displays" -> "Display(1,2,3,4)"
3. disable display 2
Click "View" -> "Displays" -> "Display 2"
4. run "xrandr" in guest
5. close virt-viewer
6. reconnect guest with virt-viewer
#virt-viewer $vm
Result:
Step 4, after disable display 2, xrandr in guest still show 4 displays.
Step 6, after reconnect the guest, 4 displays will come out.
if it's a different problem, I'll file a new one to track it.
Thanks
(In reply to Jonathon Jongsma from comment #4)
> Hi CongDong,
>
> The scenario in comment #3 is a different issue.
Thanks, and I file a new bug for it: Bug 1111425
Can reproduce with:
virt-viewer-0.6.0-11.el6
Steps:
1.Prepare a spice guest with qxl and spicevmc.
2.Boot the guest,use virt-viewer to launch the guest,disable display 1 and enable other displays,eg:display 2.
# virt-viewer $guest --spice-debug --debug > spice-debug-1.log
3.Close virt-viewer.
4.Use virt-viewer to relaunch the guest,both display 1 and display 2 will be launched,display 1 will show:waiting for display 1
Verify with:
virt-viewer-2.0-2.el6
Reslut:
Step4, only display 2 comes out, display 1 is disabled.
As the result, move VERIFIED.
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.
https://rhn.redhat.com/errata/RHBA-2015-1322.html
Created attachment 827093 [details] sceenshot of the issue Description Display 1 always pop out when using virt-viewer to relaunch guest Version: libvirt-0.10.2-29.el6.1.x86_64 virt-viewer-0.5.6-8.el6.x86_64 spice-gtk-python-0.20-11.el6.x86_64 spice-xpi-2.7-24.el6.x86_64 spice-vdagent-0.14.0-2.el6.x86_64 spice-glib-0.20-11.el6.x86_64 spice-gtk-0.20-11.el6.x86_64 spice-server-0.12.4-6.el6.x86_64 How reproducible: 100% Steps to Reproduce: 1.Prepare a spice guest with qxl and spicevmc. 2.Boot the guest,use virt-viewer to launch the guest,disable display 1 and enable other displays,eg:display 2. # virt-viewer $guest --spice-debug --debug > spice-debug-1.log 3.Close virt-viewer. 4.Use virt-viewer to relaunch the guest,both display 1 and display 2 will be launched,display 1 will show:waiting for display 1,see the screenshot. # virt-viewer $guest --spice-debug --debug > spice-debug-2.log Actual results: As description. Expected results: Step 4,only display 2 launched. Additional info: 1.Attached the spice debug info. 2.The issue can also be reproduced on rhel7.