Fedora 44 - Atomic - Gnome - How to properly setup Virtual Machine Manager with Flatpak

Hi,

So I decide this week to give Fedora Atomic a try and I got confused with the setup for the Virtual Machine Manager.

I read on another article that I would need two flatpaks:

  1. org.virt_manager.virt-manager
  2. org.virt_manager.virt-manager.Extension.Qemu

I installed both and created a new Connection: qemu:///system. But i got a error saying:

virtual machine manager connection failure
unable to connect to libvirt qemu:///system
Verify that an appropriate libvirt daemon is running
...
libvirt.libvirtError: Failed to connect socket to '/app/var/run/libvirt/virtqemud-sock': No such file or directory

Right now I am assuming I would need to install libvirt locally (through rpm-ostree) to ensure that my host truly have a libvirt that the flatpak(s) can consume.

Is this correct? Or is there another set of steps I’m missing that would resolve this without any changes to my os-tree?

thank you for reading.

It’s likely that due to flatpak sandboxing you would need to use a session (KVM/Qemu user session) connection instead.

The other option as you mentioned would be to try layering virt-manager and install it natively on the system.

Is Gnome Boxes installed out of the box on Silverblue?

Details and options are explained in GitHub - flathub/org.virt_manager.virt-manager · GitHub