On 13.02.2015 16:19, Jon Doe wrote:
Hi List,
Is it possible to prevent other clients from stealing my libvirtd
hosted spice session? This is a problem for me where multiple
co-workers access the same guest over a qemu+ssh:// connection.
Instead of simply disconnecting clients, I'd like libvirtd to deny the
new client.
I've been looking at polkit acl rules and the vnc sharePolicy
attribute but so far no luck.
I think the only possible way is to set a password to protect the SPICE
session. You know, libvirt doesn't interfere into SPICE connection
process. And the sharePolicy attribute exists only for VNC. SPICE
doesn't seem to support that.
Michal