Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I installed virt-manager and I am unable to make it work.

I have tried some of the previously posted answers with no success. I've verified that:

  • The libvirt-bin package is installed
  • The libvirtd daemon has been started
  • I am a member of the libvirtd group
  • libvirt URI is: qemu:///system

This is the error I get when trying to run virt-manager:

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/connection.py", line 1027, in _open_thread
    self.vmm = self._try_open()
  File "/usr/share/virt-manager/virtManager/connection.py", line 1009, in _try_open
    flags)
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 102, in openAuth
    if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: Failed to connect socket to '/var/run/libvirt/libvirt-sock': Permission     denied
share|improve this question
    
Please, edit your question to include the output of ls -la /var/run/libvirt/. –  Eric Carvalho Jul 11 '13 at 14:32

2 Answers 2

I had the same issue. Try this guide it's works for me. Don't forget relogin after add user to group 'libvirtd'

share|improve this answer
    
Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. –  Eric Carvalho Jan 30 at 19:20

Try to add this line to /etc/libvirt/libvirtd.conf

listen_tls = 0

then restart lirvirt by:

/etc/init.d/libvirt-bin restart
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.