Bug 1377221 - cannot connect to vnc unix socket guest even --attach is added for normal user
Summary: cannot connect to vnc unix socket guest even --attach is added for normal user
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: gtk-vnc
Version: 6.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Daniel Berrangé
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-19 08:52 UTC by Xiaodai Wang
Modified: 2017-12-06 12:49 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-06 12:49:39 UTC
Target Upstream Version:


Attachments (Terms of Use)

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/


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