<span style="font-family: courier new,monospace;">Hi, I'm sure if here is the right place to ask this but let me go ... I'm running a Xen server (version 3.1 compiled) on Linux Debian Lenny that I'd install virt-manager by package of lenny repository. I've installed 'libvirt-bin, libvirt0 and python-libvirt' version 0.4.0-2.<br>

<br>At '/etc/xen/xend-config.sxp' I had </span><span style="font-family: courier new,monospace;">:<br><config><br></span><span style="font-family: courier new,monospace;">#(xend-http-server no)</span><br><span style="font-family: courier new,monospace;">(xend-unix-server yes)<br>

</span><span style="font-family: courier new,monospace;">#(xend-tcp-xmlrpc-server no)<br>
(xend-unix-xmlrpc-server yes)<br>
#(xend-relocation-server no)<br>
(xend-relocation-server yes)<br>
</span><span style="font-family: courier new,monospace;"></config><br><br>When I try to connect to xen server, on localhost, I get back the error bellow. My question is if I have to enable something on xen server to get this working.<br>
<br><error></span><span style="font-family: courier new,monospace;"><br>Unable to open connection to hypervisor URI 'xen:///':<br>
libvirt.libvirtError virConnectOpenReadOnly() failed could not connect to<br>xen:///<br>Traceback (most recent call last):<br>  File "/usr/local/share/virt-manager/virtManager/connection.py", line 305,<br>in _open_thread<br>

    self.vmm = libvirt.openReadOnly(self.uri)<br>  File "/usr/local/lib/python2.4/site-packages/libvirt.py", line 132, in<br>openReadOnly<br>    if ret is None:raise libvirtError('virConnectOpenReadOnly() failed')<br>

libvirtError: virConnectOpenReadOnly() failed could not connect to xen:///<br><br></span><span style="font-family: courier new,monospace;"></error><br><br>Looking at /root/.virt-manager/virt-manager.log I get these mensagens:<br>
<br><virt-manager.log><br>[Wed, 23 Jan 2008 19:06:50 virt-manager 5070] INFO (virt-manager:126) Application startup<br>[Wed, 23 Jan 2008 19:06:52 virt-manager 5071] DEBUG (engine:74) About to connect to uris ['xen:///']<br>
[Wed, 23 Jan 2008 19:06:52 virt-manager 5071] WARNING (virt-manager:282) Could not get connection to session bus, disabling DBus service dbus.exceptions.DBusException org.freedesktop.DBus.Error.NoReply: 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.<br>
[Wed, 23 Jan 2008 19:07:00 virt-manager 5071] DEBUG (connection:292) Scheduling background open thread for xen:///<br>[Wed, 23 Jan 2008 19:07:00 virt-manager 5071] DEBUG (connection:299) Background thread is running<br>[Wed, 23 Jan 2008 19:07:00 virt-manager 5071] ERROR (connection:324) Unable to open connection to hypervisor URI 'xen:///':<br>
libvirt.libvirtError virConnectOpenReadOnly() failed could not connect to xen:///<br>Traceback (most recent call last):<br>  File "/usr/local/share/virt-manager/virtManager/connection.py", line 306, in _open_thread<br>
    self.vmm = libvirt.openReadOnly(self.uri)<br>  File "/usr/local/lib/python2.4/site-packages/libvirt.py", line 132, in openReadOnly<br>    if ret is None:raise libvirtError('virConnectOpenReadOnly() failed')<br>
libvirtError: virConnectOpenReadOnly() failed could not connect to xen:///<br><br>[Wed, 23 Jan 2008 19:07:00 virt-manager 5071] DEBUG (connection:328) Background open thread complete, scheduling notify<br>[Wed, 23 Jan 2008 19:07:00 virt-manager 5071] DEBUG (connection:337) Notifying open result<br>
<br></span><span style="font-family: courier new,monospace;"></virt-manager.log></span><br clear="all"><br>-- <br>"o animal satisfeito dorme". - Guimarães Rosa