I've installed KVM/VirtManager ..
yet there were a few minor errors.
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.
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
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 ?
Code:
sudo apt-get install virt-manager
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'.
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
Code:
sudo virt-manager