<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:΢ÈíÑźÚ
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi,<div>    I try to configure libvirtd to use qemu+tcp, but after doing so, I can't use virsh or programs with libvirt API. </div><div><br></div><div>I type "<span style="font-size: 12pt; ">virsh -c qemu:///system", then </span></div><div><div>error: unable to connect to '/var/run/libvirt/libvirt-sock', libvirtd may need to be started: Permission denied</div><div>error: failed to connect to the hypervisor</div></div><div><br></div><div>I could add "sudo" to "<span style="font-size: 12pt; ">virsh -c qemu:///system</span><span style="font-size: 12pt; ">", running virsh with "qemu:///system" normally, but it's not suitable for my requests. </span></div><div><span style="font-size: 12pt; "><br></span></div><div><span style="font-size: 12pt; ">Also I try to restart or reinstall libvirt-bin in Ubuntu, also failed.</span></div><div><br></div><div>Could you give me some idea?</div><div><br></div><div>Thanks a lot!</div><div><br></div><div>Regards</div><div>Corey</div>                                         </div></body>
</html>