Bug 1351243
| Summary: | Can't connect to any display if specifying <GUEST-DISPLAY-ID> greater than the real display count | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Radek Duda <rduda> | ||||
| Component: | virt-viewer | Assignee: | Pavel Grunt <pgrunt> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 7.3 | CC: | dblechte, juzhou, mxie, pgrunt, rbalakri, spice-qe-bugs, tpelka, tzheng, xiaodwan | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | virt-viewer-2.0-13.el7 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 1351881 (view as bug list) | Environment: | |||||
| Last Closed: | 2017-08-01 15: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: | 1351881 | ||||||
| Attachments: |
|
||||||
Should be fixed upstream 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. 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 |
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.