"Allen Qiu"<my1stbox@163.com>
2014-Oct-27 08:31 UTC
[libvirt-users] What is the difference between running "virt-manager" and "sudo virt-manager"?
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"? Regards, Allen 2014-10-27 Allen Qiu
Sven Schwedas
2014-Oct-27 09:05 UTC
Re: [libvirt-users] What is the difference between running "virt-manager" and "sudo virt-manager"?
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@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@tao.at | +43 (0)680 301 7167 http://software.tao.at
王成武
2014-Oct-28 01:05 UTC
[libvirt-users] 答复: What is the difference between running "virt-manager" and "sudo virt-manager"?
重启服务器后,root下virt-manager能执行了,我看你的帐号还不行。 发件人: Allen Qiu [mailto:my1stbox@163.com] 发送时间: 2014年10月27日 16:31 收件人: libvirt-users@redhat.com 抄送: 王成武; 'Bin Liu'; zoubinbin100@163.com 主题: What is the difference between running "virt-manager" and "sudo virt-manager"? 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/> 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"? Regards, Allen 2014-10-27 _____ Allen Qiu
Apparently Analagous Threads
- Any recommendation about benchmarking tools on Linux virtual machine?
- How could the admin do to grant me with permission to run virsh as unprivileged user?
- Authenticating with /etc/passwd
- how to get the index of entry with max value in an array?
- how to test robustness of correlation