Last active
December 16, 2025 14:34
-
-
Save mirkobrombin/5c2745b54dd16b603d54dc72c341aa4b to your computer and use it in GitHub Desktop.
Running virt-manager on Vanilla OS via Distrobox
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DBX_SUDO_PROGRAM=pkexec /usr/share/apx/distrobox/distrobox create \ | |
| --pull \ | |
| --root \ | |
| --init \ | |
| --unshare-all \ | |
| --image ghcr.io/vanilla-os/pico:main \ | |
| --name libvirtd \ | |
| --additional-flags "-p 2222:22" \ | |
| --init-hooks "apt update && apt install -y openssh-server libvirt-daemon-system libvirt-clients qemu-system qemu-utils virt-manager && systemctl enable ssh.service && systemctl enable libvirtd && usermod -aG libvirt $USER" | |
| DBX_SUDO_PROGRAM=pkexec /usr/share/apx/distrobox/distrobox-enter --root libvirtd -- distrobox-export --app virt-manager |
Author
Sadly I have no idea. @89luca89 any idea?
Sadly I have no idea. @89luca89 any idea?
Could it be a SELinux issue?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ciao Marco
I tried to follow the guide and the recommended trick, but there are some problems. I am attaching some photos.
Although some USB devices are recognised ( foto1 ), others are not. For example, USB sticks (foto2). There are permission errors (foto3). I also tried adding the user to plugdev kvm libvirt users, without success.
Do you have any suggestions?
Ciao