M BUZZ CRAZE NEWS
// general

KVM Virt-Manager Error: No active connection to Installed on

By David Jones

When I tried to install new virtual machine in virt-manager, virtualization - localhost (QEMU) is not connected.

It shows Error: No active connection to installed on. How to fix this problem.

1

3 Answers

Make sure your username is part of the libvirt group. Try running sudo adduser <username> libvirt. This fixed the problem for me.

1) Verify you have all packages you need

$ sudo apt install -y qemu-kvm libvirt0 libvirt-bin virt-manager bridge-utils
$ sudo systemctl enable libvirt-bin

2) Verify that libvirtd and libvirt-bin are up and running.

$ sudo service libvirtd status
$ sudo service libvirt-bin status

You are likely going to need to make sure your user owns the libvirt socket, change out the username:username with your actual username

sudo chown username:username /var/run/libvirt/libvirt-sock