hostnamectl; # tested on
Operating System: Debian GNU/Linux 13 (trixie)
Kernel: Linux 6.12.74+deb13+1-amd64
Architecture: x86-64
# as non root user
virsh uri
qemu:///session
# as root user
su - root
virsh uri
qemu:///system
# Ctrl+D log out root, as non-root user
virsh -c qemu:///system list --all
# make it permanent for all users of the system
echo 'export LIBVIRT_DEFAULT_URI="qemu:///system"' >> /etc/bash.bashrc
# only for current user
echo 'export LIBVIRT_DEFAULT_URI="qemu:///system"' >> ~/.bashrcsource ~/.bashrc
# in a new terminal as non-root user try again
# it should now list all available vms on this system
virsh list --all
- only together we can create a truly free world
- plz support dwaves to keep it up & running!
- (yes the info on the internet is (mostly) free but beer is still not free (still have to work on that))
- really really hate advertisement
- contribute: whenever a solution was found, blog about it for others to find!
- talk about, recommend & link to this blog and articles
- thanks to all who contribute!