<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div><a href="https://www.redhat.com/archives/libvirt-users/"></a>I have a problem con libvirt, if running this python code:<br><br><br><div style="margin-left: 40px;">import libvirt<br>conn = libvirt.open("vbox:///session")<br></div><br>return this error:<br><br><div style="margin-left: 40px;">libvir: QEMU error : server closed connection<br>libvir: warning : Failed to find the interface: Is the daemon running ?<br>libvir: Remote error : unable to connect to '/var/run/libvirt/libvirt-sock': Connection refused<br>libvir: warning : Failed to find a node driver: Is the libvirtd daemon running ?<br>libvir: Remote error : unable to connect to '/var/run/libvirt/libvirt-sock': Connection refused<br>libvir: warning : Failed to find a secret storage driver: Is the daemon running ?<br></div><br>If I running
 the python code in sudo mode, I don't have error.<br><br>I have before add the my user at the group "libvirtd" with:<br><br><div style="margin-left: 40px;">sudo adduser user libvirtd<br><br></div>Angelo<br></div>
</div><br>



      </body></html>