Why does virt-manager ask for authentication password?

Whenever I start virt-manager to create or start a virtual machine, it asks me for my password for authentication. “System policy prevents management of local virtualized systems”.
However, I can just click cancel and use virt-manager without any issues.
Why is my password being asked for if it is apparently not required? Am I missing something?

Because there are two “places” where to create virtual machines: system wide and user session.
If you want to get rid of the password spoke, you should add your user to the libvirt group.

sudo usermod -a -G libvirt $USER


(Or delete the qemu:///system connection).


Gah!!! That explains why I was still getting those, as well. Seems I’d added myself to the qemu group, instead of the libvirt group. Thanks for that hint.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.