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 1351243 - Can't connect to any display if specifying <GUEST-DISPLAY-ID> greater than the real display count
Summary: Can't connect to any display if specifying <GUEST-DISPLAY-ID> greater than th...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: virt-viewer
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Pavel Grunt
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 1351881
TreeView+ depends on / blocked
 
Reported: 2016-06-29 14:12 UTC by Radek Duda
Modified: 2017-08-01 15:04 UTC (History)
9 users (show)

Fixed In Version: virt-viewer-2.0-13.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1351881 (view as bug list)
Environment:
Last Closed: 2017-08-01 15:04:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
spice-debug log (monitor-mapping=8:1) (28.54 KB, text/plain)
2016-06-29 14:12 UTC, Radek Duda
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:1849 0 normal SHIPPED_LIVE virt-viewer bug fix and enhancement update 2017-08-01 17:49:46 UTC

Description Radek Duda 2016-06-29 14:12:55 UTC
Created attachment 1173934 [details]
spice-debug log (monitor-mapping=8:1)

Description of problem:
Can't connect to any display if specifying <GUEST-DISPLAY-ID> is greater than the real display count

Version-Release number of selected component (if applicable):
tested on
rhel 7.3 nightly client:
virt-viewer-2.0-8.el7.x86_64
Windows 7 64bit client:
virt-viewer 2.0-160

How reproducible:
100%

Steps to Reproduce:
1. Set <GUEST-DISPLAY-ID> greater than the count of guest displays. For example, if you only have one monitor, you can set it to 3:1.
# cat .config/virt-viewer/settings :

#rhel7.3_nightly

[b1a57478-75fd-4cef-9b84-a4b5d8f8d8c3]
monitor-mapping=8:1

2. Wait for the guest startup and Login into the guest first.
3. lauch VM in fullscreen ($ remote-viewer -f spice://localhost:5900)

Actual results:
"Connected to graphic sever" screen displays and can't connect to any display.
remote-viewer throw message:
(remote-viewer:19223): remote-viewer-WARNING **: display 0 should not be enabled, disabling



Expected results:
virt-viewer should ignore the monitor-mapping settings and connect display(s) to monitor(s).

Additional info:
 * If the GUEST-DISPLAY-ID for both displays is the same (e.g. monitor-mapping=6:1;6:2), the bug does not occur and displays are attached on both monitors. remote-viewer then returns:

(remote-viewer:18686): remote-viewer-WARNING **: Invalid monitor-mapping configuration: a display or monitor id was specified twice

* if CLIENT-MONITOR-ID is also higher then real number of monitors (e.g. monitor-mapping=5:10), the guest desktop is displayed and no "Connected to graphic sever"  message occurs.

Comment 2 Pavel Grunt 2016-06-29 14:52:30 UTC
Should be fixed upstream

Comment 4 Xiaodai Wang 2017-03-17 07:42:59 UTC
Verified this bug with virt-viewer-5.0-2.el7.x86_64, virt-viewer can connect to the guest when <GUEST-DISPLAY-ID> greater than the count of guest displays.

So move the bug from ON_QA to VERIFIED.

Comment 5 errata-xmlrpc 2017-08-01 15: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.

https://access.redhat.com/errata/RHBA-2017:1849


Note You need to log in before you can comment on or make changes to this bug.