Re: Listing machines as non-root user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2011/4/26 Jan <jan@xxxxxxxxx>

have you tried a different connection URI?:

--------------<-----------------
$ virsh -c qemu:///system 'list'
-------------->-----------------

If not explicitly stated, the virsh binary uses the 'qemu:///session' URI
(at least under debian).

See also .. VIRSH(1):

----------------------------------<---------------------------------------
qemu:///system
"connect locally as root to the daemon supervising QEmu and KVM domains"

qemu:///session
"connect locally as a normal user to his own set of QEmu and KVM domains"
---------------------------------->---------------------------------------

Please note that in order for the 'qemu:///system' URI to work probably the
user must be part of the 'libvirt' group. This way you won't have to touch
the permission set of any of the respective sockets.

My user is in libvirt group 
$ id
uid=107(eucalyptus) gid=112(eucalyptus) groups=112(eucalyptus),110(libvirt)

I have tried 'virsh -c qemu:///system 'list'' as well. Still does not work.

regards
Maciej

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux