[libvirt-users] What is the difference between running "virt-manager" and "sudo virt-manager"?

Sven Schwedas sven.schwedas at tao.at
Mon Oct 27 09:05:47 UTC 2014


On 2014-10-27 09:31, Allen Qiu wrote:
> Hi all,
>  
> What is the difference between starting virt-manager by "virt-manager"
> and by "sudo virt-manager"? It seems that there are two copy of
> virt-manager running in the background.
>  
> When I run *"virt-manager",* I got a error of "*Unable to open a
> connection to the libvirt management daemon. **Libvirt URI is:
> qemu:///system **Verify that: - The 'libvirtd' daemon has been started*".
>  
> Whereas when I run *"sudo virt-manager",* I got a error of *"Error
> starting Virtual Machine Manager: Failed to contact configuration
> server; some possible causes are that you need to enable TCP/IP
> networking for ORBit, or you have stale NFS locks due to a system crash.
> See **http://projects.gnome.org/gconf/**for information."*
> ** 
> How should I deal with the two issues respectively? Is there any
> drawback by simply running "virt-manager"?

You should set up correct permissions for libvirtd (cf. libvirtd.conf,
unix_sock_group) and use virt-manager/virsh as unprivileged user.

>  
> Regards,
>  
> Allen
>  
> 2014-10-27
> ------------------------------------------------------------------------
> Allen Qiu
> 
> 
> _______________________________________________
> libvirt-users mailing list
> libvirt-users at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-users
> 

-- 
Mit freundlichen Grüßen, / Best Regards,
Sven Schwedas
Systemadministrator
TAO Beratungs- und Management GmbH | Lendplatz 45 | A - 8020 Graz
Mail/XMPP: sven.schwedas at tao.at | +43 (0)680 301 7167
http://software.tao.at

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 648 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20141027/28f925c0/attachment.sig>


More information about the libvirt-users mailing list