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 1379581 - Guest has no graphic in virt-manager if graphic mode is vnc and listen type is none
Summary: Guest has no graphic in virt-manager if graphic mode is vnc and listen type i...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: virt-manager
Version: 7.3
Hardware: x86_64
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Pavel Hrdina
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 1401400
TreeView+ depends on / blocked
 
Reported: 2016-09-27 07:40 UTC by mxie@redhat.com
Modified: 2017-08-01 21:02 UTC (History)
6 users (show)

Fixed In Version: virt-manager-1.4.1-1.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-01 21:02:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
black (17.70 KB, image/png)
2016-09-27 07:40 UTC, mxie@redhat.com
no flags Details
virt-viewer-disconect.png (18.76 KB, image/png)
2016-09-27 07:41 UTC, mxie@redhat.com
no flags Details
virt-manager.log (21.95 KB, text/plain)
2016-09-27 07:42 UTC, mxie@redhat.com
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:2072 0 normal SHIPPED_LIVE virt-manager bug fix and enhancement update 2017-08-01 18:36:34 UTC

Description mxie@redhat.com 2016-09-27 07:40:33 UTC
Created attachment 1205082 [details]
black

Description of problem:
Guest has no graphic in virt-manager if graphic mode is vnc and listen type is none

Version-Release number of selected component (if applicable):
virt-manager-1.4.0-2.el7.noarch
gtk-vnc-0.5.2-7.el7.x86_64
libvirt-2.0.0-10.el7.x86_64
qemu-kvm-rhev-2.6.0-27.el7.x86_64


How reproducible:
100%

Steps to Reproduce:
1.Prepare a vnc guest which has listen type=none, power on the guest in virt-manager but find that guest's graphic is black as screenshot "black"
#virsh dumpxml rhel6.8
    <graphics type='vnc' port='-1' autoport='yes'>
      <listen type='none'/>
    </graphics>


2.Close the window and open the guest again in virt-manager.it shows "virt-viewer is disconnect" as screenshot"virt-viewer is disconected"

3.Using virt-viewer to connect this guest, the graphic could be showed out normally, pls refer to screenshot "virt-viewer"
# virt-viewer listen_none -a


Actual results:
As above description

Expected results:
Guest shows graphic normally in virt-manager if graphic mode is vnc and listen type is none

Additional info:
1.Can't reproduce this problem on spice guest

Comment 1 mxie@redhat.com 2016-09-27 07:41:33 UTC
Created attachment 1205083 [details]
virt-viewer-disconect.png

Comment 2 mxie@redhat.com 2016-09-27 07:42:00 UTC
Created attachment 1205084 [details]
virt-manager.log

Comment 3 Cole Robinson 2017-03-02 20:13:28 UTC
Fixed upstream now:

commit 0910c8dcfc38d03178d0cb6f2beb41a192eb45be
Author: Cole Robinson <crobinso>
Date:   Thu Mar 2 15:08:32 2017 -0500

    domain: Use libvirt.VIR_DOMAIN_OPEN_GRAPHICS_SKIPAUTH (bug 1379581)
    
    It's what virt-viewer uses, and apparently it's needed for VNC
    listen type=none
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1379581

Comment 5 zhoujunqin 2017-03-20 06:38:13 UTC
I can reproduce this bug with package:
virt-manager-1.4.0-2.el7.noarch

Then try to verify this bug with new build:
virt-manager-1.4.1-1.el7.noarch
virt-manager-common-1.4.1-1.el7.noarch
virt-install-1.4.1-1.el7.noarch
libvirt-3.1.0-2.el7.x86_64
spice-gtk3-0.33-1.el7.x86_64

Steps:
1.Launch virt-manager:
# virt-manager

2. Prepare a healthy vm in shutdown status without Display, then check the hardware tab in the Virtual Machine Details window.

3.Click Add Hardware to add a  vnc display with "listen type = none"
Type: VNC server
Listen Type: None
Others as default setting, then click "Apply".

4. VNC display added successfully, then start guest and open guest console.

Result:
Guest boots up successfully and guest's graphic shows normally in virt-manager, so move this bug from ON_QA to VERIFIED.

Comment 6 errata-xmlrpc 2017-08-01 21:02:03 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:2072


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