Bug 1377221

Summary: cannot connect to vnc unix socket guest even --attach is added for normal user
Product: Red Hat Enterprise Linux 6 Reporter: Xiaodai Wang <xiaodwan>
Component: gtk-vncAssignee: Daniel Berrangé <berrange>
Status: CLOSED WONTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.9CC: juzhou, mxie, mzhan, pgrunt, tzheng
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-06 12:49:39 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:

Description Xiaodai Wang 2016-09-19 08:52:40 UTC
Description of problem:
cannot connect to vnc unix socket guest even --attach is added for normal user

Version-Release number of selected component (if applicable):
virt-viewer-2.0-14.el6.x86_64
gtk-vnc-0.3.10-3.el6.x86_64
libvirt-0.10.2-60.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Enable vnc_auto_unix_socket in /etc/libvirt/qemu.conf.
vnc_auto_unix_socket = 1
2. Restart libvird service and restart vnc guest.
3. Make sure the guest's graphics config is as below.
    <graphics type='vnc' socket='/var/lib/libvirt/qemu/rhel7.vnc'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
4. Connect to the guest with normal user
$ virt-viewer -c qemu:///system rhel7  --attach

Actual results:
The vnc unix socket guest cannot be connected to.

Expected results:
The vnc unix socket guest should be connected.

Additional info:

Comment 2 Jan Kurik 2017-12-06 12:49:39 UTC
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.

The official life cycle policy can be reviewed here:

http://redhat.com/rhel/lifecycle

This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL:

https://access.redhat.com/