<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<STYLE type=text/css> <!--@import url(scrollbar.css); --></STYLE>

<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<STYLE>                   body{FONT-SIZE:12pt; FONT-FAMILY:宋体,serif;}         </STYLE>

<META name=GENERATOR content="MSHTML 10.00.9200.17116"><BASE 
target=_blank></HEAD>
<BODY 
style="BORDER-LEFT-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; MARGIN: 12px; LINE-HEIGHT: 1.3; BORDER-TOP-WIDTH: 0px" 
marginheight="0" marginwidth="0">
<DIV><FONT color=#000000 size=3 face=宋体>Thank you! 
How could the admin do to grant me with permission to run virsh 
as unprivileged user? Also by configurating 
libvirtd.conf, unix_sock_group? </FONT></DIV>
<DIV> </DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana>2014-10-28</FONT></DIV>
<DIV align=left><FONT size=2 face=Verdana>
<HR id=SignNameHR style="HEIGHT: 2px; WIDTH: 122px" align=left SIZE=2>
</FONT></DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana><SPAN 
id=_FlashSignName>Allen Qiu</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Verdana>
<HR>
</FONT></DIV>
<DIV><FONT size=2 
face=Verdana><STRONG>发件人:</STRONG>libvirt-users-request@redhat.com</FONT></DIV>
<DIV><FONT size=2 
face=Verdana><STRONG>发送时间:</STRONG>2014-10-28 00:00</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>主题:</STRONG>libvirt-users Digest, Vol 58, 
Issue 33</FONT></DIV>
<DIV><FONT size=2 
face=Verdana><STRONG>收件人:</STRONG>"libvirt-users"<libvirt-users@redhat.com></FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>抄送:</STRONG></FONT></DIV>
<DIV><FONT size=2 face=Verdana></FONT> </DIV>
<DIV><FONT size=2 face=Verdana>
<DIV>Send libvirt-users mailing list submissions to </DIV>
<DIV>    libvirt-users@redhat.com </DIV>
<DIV> </DIV>
<DIV>To subscribe or unsubscribe via the World Wide Web, visit </DIV>
<DIV>    https://www.redhat.com/mailman/listinfo/libvirt-users </DIV>
<DIV>or, via email, send a message with subject or body 'help' to </DIV>
<DIV>    libvirt-users-request@redhat.com </DIV>
<DIV> </DIV>
<DIV>You can reach the person managing the list at </DIV>
<DIV>    libvirt-users-owner@redhat.com </DIV>
<DIV> </DIV>
<DIV>When replying, please edit your Subject line so it is more specific </DIV>
<DIV>than "Re: Contents of libvirt-users digest..." </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Today's Topics: </DIV>
<DIV> </DIV>
<DIV>   1. Error starting Virtual Machine Manager: Failed to    contact </DIV>
<DIV>      configuration server... (Allen Qiu) </DIV>
<DIV>   2. What is the difference between running    "virt-manager" and </DIV>
<DIV>      "sudo virt-manager"? (Allen Qiu) </DIV>
<DIV>   3. Re: What is the difference between running "virt-manager" and </DIV>
<DIV>      "sudo virt-manager"? (Sven Schwedas) </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>---------------------------------------------------------------------- </DIV>
<DIV> </DIV>
<DIV>Message: 1 </DIV>
<DIV>Date: Mon, 27 Oct 2014 16:14:22 +0800 </DIV>
<DIV>From: "Allen Qiu"<my1stbox@163.com> </DIV>
<DIV>To: "libvirt-users@redhat.com"<libvirt-users@redhat.com> </DIV>
<DIV>Cc: ??? <chengwu.wang@net263.com>,    'Bin Liu' <binliu_gh@yahoo.com> </DIV>
<DIV>Subject: [libvirt-users] Error starting Virtual Machine Manager: </DIV>
<DIV>    Failed to    contact configuration server... </DIV>
<DIV>Message-ID: <5a1daafa.4851.14950ab9ff5.Coremail.my1stbox@163.com> </DIV>
<DIV>Content-Type: text/plain; charset="utf-8" </DIV>
<DIV> </DIV>
<DIV>Hi all! </DIV>
<DIV>Do you have any idea about the following error message from virt-manager. I was trying to start it with "sudo virt-manager". Do you think I can fix this by simply restarting libvirtd? </DIV>
<DIV>Regards, </DIV>
<DIV>Allen </DIV>
<DIV> </DIV>
<DIV>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. (Details -  1: Could not send message to GConf daemon: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.) </DIV>
<DIV> </DIV>
<DIV>Traceback (most recent call last): </DIV>
<DIV>  File "/usr/share/virt-manager/virt-manager.py", line 383, in <module> </DIV>
<DIV>    main() </DIV>
<DIV>  File "/usr/share/virt-manager/virt-manager.py", line 315, in main </DIV>
<DIV>    config = virtManager.config.vmmConfig(appname, appversion, glade_dir) </DIV>
<DIV>  File "/usr/share/virt-manager/virtManager/config.py", line 98, in __init__ </DIV>
<DIV>    self.conf.add_dir(self.conf_dir, gconf.CLIENT_PRELOAD_NONE) </DIV>
<DIV>GError: 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. (Details -  1: Could not send message to GConf daemon: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.) </DIV>
<DIV> </DIV>
<DIV>2014-10-27 </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Allen Qiu </DIV>
<DIV>-------------- next part -------------- </DIV>
<DIV>An HTML attachment was scrubbed... </DIV>
<DIV>URL: <https://www.redhat.com/archives/libvirt-users/attachments/20141027/2e37a157/attachment.html> </DIV>
<DIV> </DIV>
<DIV>------------------------------ </DIV>
<DIV> </DIV>
<DIV>Message: 2 </DIV>
<DIV>Date: Mon, 27 Oct 2014 16:31:17 +0800 </DIV>
<DIV>From: "Allen Qiu"<my1stbox@163.com> </DIV>
<DIV>To: "libvirt-users@redhat.com"<libvirt-users@redhat.com> </DIV>
<DIV>Cc: ??? <chengwu.wang@net263.com>,    "zoubinbin100@163.com" </DIV>
<DIV>    <zoubinbin100@163.com>,    'Bin Liu' <binliu_gh@yahoo.com> </DIV>
<DIV>Subject: [libvirt-users] What is the difference between running </DIV>
<DIV>    "virt-manager" and "sudo virt-manager"? </DIV>
<DIV>Message-ID: <6b47a489.4b48.14950bb1af4.Coremail.my1stbox@163.com> </DIV>
<DIV>Content-Type: text/plain; charset="utf-8" </DIV>
<DIV> </DIV>
<DIV>Hi all, </DIV>
<DIV> </DIV>
<DIV>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.  </DIV>
<DIV> </DIV>
<DIV>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".  </DIV>
<DIV> </DIV>
<DIV>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." </DIV>
<DIV> </DIV>
<DIV>How should I deal with the two issues respectively? Is there any drawback by simply running "virt-manager"? </DIV>
<DIV> </DIV>
<DIV>Regards, </DIV>
<DIV> </DIV>
<DIV>Allen </DIV>
<DIV> </DIV>
<DIV>2014-10-27 </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Allen Qiu </DIV>
<DIV>-------------- next part -------------- </DIV>
<DIV>An HTML attachment was scrubbed... </DIV>
<DIV>URL: <https://www.redhat.com/archives/libvirt-users/attachments/20141027/6d6c6296/attachment.html> </DIV>
<DIV> </DIV>
<DIV>------------------------------ </DIV>
<DIV> </DIV>
<DIV>Message: 3 </DIV>
<DIV>Date: Mon, 27 Oct 2014 10:05:47 +0100 </DIV>
<DIV>From: Sven Schwedas <sven.schwedas@tao.at> </DIV>
<DIV>To: libvirt-users@redhat.com </DIV>
<DIV>Subject: Re: [libvirt-users] What is the difference between running </DIV>
<DIV>    "virt-manager" and "sudo virt-manager"? </DIV>
<DIV>Message-ID: <544E0AEB.4080005@tao.at> </DIV>
<DIV>Content-Type: text/plain; charset="iso-8859-1" </DIV>
<DIV> </DIV>
<DIV>On 2014-10-27 09:31, Allen Qiu wrote: </DIV>
<DIV>> Hi all, </DIV>
<DIV>>   </DIV>
<DIV>> What is the difference between starting virt-manager by "virt-manager" </DIV>
<DIV>> and by "sudo virt-manager"? It seems that there are two copy of </DIV>
<DIV>> virt-manager running in the background. </DIV>
<DIV>>   </DIV>
<DIV>> When I run *"virt-manager",* I got a error of "*Unable to open a </DIV>
<DIV>> connection to the libvirt management daemon. **Libvirt URI is: </DIV>
<DIV>> qemu:///system **Verify that: - The 'libvirtd' daemon has been started*". </DIV>
<DIV>>   </DIV>
<DIV>> Whereas when I run *"sudo virt-manager",* I got a error of *"Error </DIV>
<DIV>> starting Virtual Machine Manager: Failed to contact configuration </DIV>
<DIV>> server; some possible causes are that you need to enable TCP/IP </DIV>
<DIV>> networking for ORBit, or you have stale NFS locks due to a system crash. </DIV>
<DIV>> See **http://projects.gnome.org/gconf/**for information."* </DIV>
<DIV>> **  </DIV>
<DIV>> How should I deal with the two issues respectively? Is there any </DIV>
<DIV>> drawback by simply running "virt-manager"? </DIV>
<DIV> </DIV>
<DIV>You should set up correct permissions for libvirtd (cf. libvirtd.conf, </DIV>
<DIV>unix_sock_group) and use virt-manager/virsh as unprivileged user. </DIV>
<DIV> </DIV>
<DIV>>   </DIV>
<DIV>> Regards, </DIV>
<DIV>>   </DIV>
<DIV>> Allen </DIV>
<DIV>>   </DIV>
<DIV>> 2014-10-27 </DIV>
<DIV>> ------------------------------------------------------------------------ </DIV>
<DIV>> Allen Qiu </DIV>
<DIV>>  </DIV>
<DIV>>  </DIV>
<DIV>> _______________________________________________ </DIV>
<DIV>> libvirt-users mailing list </DIV>
<DIV>> libvirt-users@redhat.com </DIV>
<DIV>> https://www.redhat.com/mailman/listinfo/libvirt-users </DIV>
<DIV>>  </DIV>
<DIV> </DIV>
<DIV>--  </DIV>
<DIV>Mit freundlichen Gr??en, / Best Regards, </DIV>
<DIV>Sven Schwedas </DIV>
<DIV>Systemadministrator </DIV>
<DIV>TAO Beratungs- und Management GmbH | Lendplatz 45 | A - 8020 Graz </DIV>
<DIV>Mail/XMPP: sven.schwedas@tao.at | +43 (0)680 301 7167 </DIV>
<DIV>http://software.tao.at </DIV>
<DIV> </DIV>
<DIV>-------------- next part -------------- </DIV>
<DIV>A non-text attachment was scrubbed... </DIV>
<DIV>Name: signature.asc </DIV>
<DIV>Type: application/pgp-signature </DIV>
<DIV>Size: 648 bytes </DIV>
<DIV>Desc: OpenPGP digital signature </DIV>
<DIV>URL: <https://www.redhat.com/archives/libvirt-users/attachments/20141027/28f925c0/attachment.bin> </DIV>
<DIV> </DIV>
<DIV>------------------------------ </DIV>
<DIV> </DIV>
<DIV>_______________________________________________ </DIV>
<DIV>libvirt-users mailing list </DIV>
<DIV>libvirt-users@redhat.com </DIV>
<DIV>https://www.redhat.com/mailman/listinfo/libvirt-users </DIV>
<DIV> </DIV>
<DIV>End of libvirt-users Digest, Vol 58, Issue 33 </DIV>
<DIV>********************************************* </DIV></FONT></DIV></BODY></HTML>