Unable to connect to libvirt qemu:///system.
Failed to connect socket to '/var/run/libvirt/virtqemud-sock': No such file or directory
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 171, in open
conn = libvirt.openAuth(self._open_uri,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/libvirt.py", line 147, in openAuth
raise libvirtError('virConnectOpenAuth() failed')
libvirt.libvirtError: Failed to connect socket to '/var/run/libvirt/virtqemud-sock': No such file or directory
A forum suggested following methods
So i ran
sudo pacman -S --needed virt-manager qemu-desktop libvirt edk2-ovmf dnsmasq iptables-nft
[sudo] password for parasetu:
warning: virt-manager-4.1.0-3 is up to date -- skipping
warning: qemu-desktop-9.0.2-1 is up to date -- skipping
warning: libvirt-1:10.6.0-1 is up to date -- skipping
warning: edk2-ovmf-202311-1 is up to date -- skipping
warning: dnsmasq-2.90-1 is up to date -- skipping
resolving dependencies...
looking for conflicting packages...
:: iptables-nft-1:1.8.10-2 and iptables-1:1.8.10-2 are in conflict. Remove iptables? [y/N]
Should i remove it or keep it ? (y/n)