Post

How to run virt-manager in Fedora Silverblue / Kinoite using Distrobox

It’s better we create a seperate home folder for our new distrobox.

1
distrobox create --root --image quay.io/toolbx-images/ubuntu-toolbox:22.04 --name ubuntu-virt-manager --home /home/zihad/.var/distrobox/home/ubuntu-virt-manager --init

Change your username.

Enter distrobox with root.

1
distrobox enter --root ubuntu-virt-manager

let it install everything.

1
sudo apt update && sudo apt upgrade

Install virt-manager.

1
sudo apt install virt-manager

update libvirtd.service

1
2
3
sudo systemctl daemon-reload
sudo systemctl restart libvirtd.service
sudo systemctl status libvirtd.service

add your username to to libvirt group.

1
sudo usermod -a -G libvirt YOUR_USERNAME

Check Status.

1
2
cat /etc/group | grep libvirt
sudo systemctl status libvirtd

Run virt-manager.

1
sudo virt-manager

If Internet doesn’t work inside virtual box. Make sure you route your network directly from your device.
Check what’s your network interface: ip link show.
Change your Network from virt-manager.

NIC -> Virtual Network Interface -> Network Source.
Change to Macvtap device… set device name: eg- enp4s0f1

Macvtap

This post is licensed under CC BY 4.0 by the author.