The answer given by @alciregi in a different post, was to add your user to the libvirt group with:
sudo usermod -a -G libvirt $USER
However, that doesn’t seem to be applicable in Silverblue. Can someone please explain what I did wrong or what I must change to remove the need for authentication?
Note: I’m not knowledgeable about virt-manager, but my understanding was that removing the request for authentication here doesn’t harm OS security.
Before the group is enabled for the user (after adding) the user must log out and back in. Then the groups command should show that group in the list the user is a member of. If that group does not show with groups, log out and back in then rerun the groups command.
Basically what @computersavvy said; whenever you modify a users groups, it doesn’t take effect until the user logs out and back in. In this case, adding the user to the libvirt group is correct.
I restarted the computer before and after using that command to add my user to the group, but the groupscommand doesn’t show libvirt there. I also repeated these steps after your message but sadly the result is the same.
I just saw this post. Is it possible that libvirt still doesn’t function as expected in Silverblue?
Try the sudo usermod -a -G libvirt brown command again.
Then run grep brown /etc/group so see what is shown there. It should show something like this, with a line for each group where your user is a member
$ grep brown /etc/group
wheel:x:10:brown
libvirt:x:983:brown
brown:x:1000:
Note that the libvirt group must exist before users can successfully be added, and if it does not appear in that listing then run grep libvirt /etc/group to confirm that group actually exists. If the group does not exist that is a different problem.
If that is the entire content of /etc/group then it is definitely different than on the normal (non-atomic) spins. I get this on my /etc/group on workstation.
Sometimes I’m not sure whether my issue is due to something I did or a difference of Silverblue. I sincerely appreciate the kind and clear answers from everyone in this thread.