You are not logged in.
Hello,
So I'm a total noob and newcomer to virtualization and I'm trying to get QEMU/KVM to run windows (For programs that sadly only support windows :S) and I want to use the graphical front end Virtual Machine Manager but when I start it up it gives me the error:
Unable to connect to libvirt.
Verify that the 'libvirtd' daemon is running.
Libvirt URI is: qemu:///system
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/connection.py", line 1000, in _do_open
self._backend.open(self._do_creds_password)
File "/usr/share/virt-manager/virtinst/connection.py", line 149, in open
open_flags)
File "/usr/lib/python2.7/site-packages/libvirt.py", line 105, in openAuth
if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
I already tried to google the problem and most people just seemed to say to run it as sudo I did that but also without succes:
[bryan@HAL4200 ~]$ No protocol specified
Unable to init server: Could not connect: Connection refused
No protocol specified
Unable to init server: Could not connect: Connection refused
No protocol specified
Unable to init server: Could not connect: Connection refused
(virt-manager:4028): Gtk-WARNING **: cannot open display: :0
Last edited by Honof (2017-05-02 11:02:45)
Offline
Did you start libvirtd?
sudo systemctl enable libvirtd.service
sudo systemctl start libvirtd.service
Offline
I have but I managed to fixed it I removed and reinstalled it and that seemed to work I have no idea why that fixed it tho thanks for the reply ^.^
Offline