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 1304648 - Can't connect to any display if specifying nothing to monitor-mapping
Summary: Can't connect to any display if specifying nothing to monitor-mapping
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virt-viewer
Version: 6.8
Hardware: x86_64
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Pavel Grunt
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 1339491 1339500
TreeView+ depends on / blocked
 
Reported: 2016-02-04 09:25 UTC by Xiaodai Wang
Modified: 2016-05-25 08:13 UTC (History)
11 users (show)

Fixed In Version: virt-viewer-2.0-14.el6
Doc Type: Bug Fix
Doc Text:
Cause: An empty monitor-mapping was being parsed. Consequence: Can't connect to any display when an empty monitor-mapping was parsed. Fix: Return early when parsing an empty monitor-mapping, using the "fallback" mapping then. Result: virt-viewer ignores the empty monitor-mapping and connects using the "fallback" one.
Clone Of:
: 1339491 (view as bug list)
Environment:
Last Closed: 2016-05-10 21:22:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0832 0 normal SHIPPED_LIVE libgovirt, spice-gtk, usbredir, and virt-viewer bug fix update 2016-05-10 22:41:23 UTC

Description Xiaodai Wang 2016-02-04 09:25:20 UTC
Description of problem:
Can't connect to any display if specifying nothing to monitor-mapping.

Version-Release number of selected component (if applicable):
virt-viewer-2.0-13.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Set monitor-mapping to blank string.
# cat .config/virt-viewer/settings 

#rhel7.2-back-clone
[d622b6f8-fdee-ad9c-63fe-cac2e9b6200d]
monitor-mapping=
2. Wait for the guest startup and Login into the guest first.
3. lanuch virt-viewer with -f arguments.
# virt-viewer rhel7.2-back-clone -f


Actual results:
"Connected to graphic sever" screen displays and can't connect to any display.


Expected results:
virt-viewer should ignore the monitor-mapping settings and connect to correct displays.

Additional info:
This issue doesn't occur on rhel7.2.

Comment 2 Fabiano Fidêncio 2016-02-10 10:11:44 UTC
We already had this discussion, more than once, but why the tests are being done using root instead of a normal user? :-\

Comment 3 Xiaodai Wang 2016-02-14 02:51:46 UTC
(In reply to Fabiano Fidêncio from comment #2)
> We already had this discussion, more than once, but why the tests are being
> done using root instead of a normal user? :-\

Hi, I tested this problem with root user and normal user. Both of them have same problem.

Comment 8 Xiaodai Wang 2016-03-07 07:23:52 UTC
Hi fidencio, 

For this bug, the empty value problem is resolved.

But if specify <CLIENT_MONITOR-ID> greater than the real monitor count, it still can't connect to any display. 

#rhel7.2-back-clone
[d622b6f8-fdee-ad9c-63fe-cac2e9b6200d]
monitor-mapping=1:5 

Should i file a new bug for it or just change the status of this bug? 

Thanks

Comment 9 Xiaodai Wang 2016-03-07 09:25:21 UTC
According comment 8, this bug is fixed. and filed a new bug for another problem.
https://bugzilla.redhat.com/show_bug.cgi?id=1315206

So move this bug from ON_QA to VERIFIED.

Comment 11 errata-xmlrpc 2016-05-10 21:22:22 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://rhn.redhat.com/errata/RHBA-2016-0832.html


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