Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

[kubuntu] Unable to connect to libvirt qemu:///system

$
0
0
I've installed KVM/VirtManager ..

Code:

sudo apt-get install virt-manager
yet there were a few minor errors.

Quote:

Warning: The home dir /var/lib/swtpm you specified can't be accessed: No such file or directory
Adding system user `swtpm' (UID 124) ...
Adding new user `swtpm' (UID 124) with group `swtpm' ...
Not creating home directory `/var/lib/swtpm'.
Ran Virtual Machine Manger, double-clicked on the connection and got the following errors.

Quote:

Unable to connect to libvirt qemu:///system.

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 923, in _do_open
self._backend.open(cb, data)
File "/usr/share/virt-manager/virtinst/connection.py", line 153, in open
conn = libvirt.openAuth(self._open_uri,
File "/usr/lib/python3/dist-packages/libvirt.py", line 148, in openAuth
raise libvirtError('virConnectOpenAuth() failed')
libvirt.libvirtError: Failed to connect socket to '/var/run/libvirt/libvirt-sock': Permission denied
so, looking at the last line, and seems just a permissions error, this works okay

Code:

sudo virt-manager
and then went searching more. Found out it was most likely that I'm not in the group libvirt , so added gnome-system-tools, added myself to that group, yet the error still occurs. Any ideas please ?

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>