Bug 1044021 - RFE: Use virDomainOpenGraphics to give non-root access to vnc over unix socket
Summary: RFE: Use virDomainOpenGraphics to give non-root access to vnc over unix socket
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: virt-manager
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Cole Robinson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-17 15:55 UTC by Cole Robinson
Modified: 2016-05-07 23:21 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-05-07 23:21:01 UTC
Embargoed:


Attachments (Terms of Use)

Description Cole Robinson 2013-12-17 15:55:27 UTC
qemu.conf vnc_auto_unix_socket will put the socket in /var/lib/... for qemu:///system. This means virt-manager run as non-root (the default) will not be able to access the vnc socket.

That's what virDomainOpenGraphics is for though. Just need to make sure we only use it where available, and only when connecting to a local connection (it doesn't work over the network)

Comment 1 Cole Robinson 2015-04-10 22:59:10 UTC
Libvirt bug tracking adding support for this for spice:

https://bugzilla.redhat.com/show_bug.cgi?id=1151761

There's also virDomainOpenGraphicsFD or something along those lines these days, that should be investigated too

Comment 2 Cole Robinson 2016-05-07 23:21:01 UTC
This is upstream nowadays as part of the spice gl work


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