Hide Forgot
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
Created attachment 1205083 [details] virt-viewer-disconect.png
Created attachment 1205084 [details] virt-manager.log
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
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.
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