Unable to deploy Win11 VM on Desktop

Hi,

I am running Bazzite on my Desktop PC. I try to deploy a win11 machine using virt-manager.
I added a dir Pool on an external drive for my VMs. I can see, that the qcow2 file gets created as root and I get the error, that virt-manager cannot access the file as id 107 (qemu). Using chown I already changed the permission for the qemu user and group but I am still unable to deploy it.

-rw-------. 1 qemu qemu 107390828544 Apr  5 12:46 win11.qcow2

I also added the path using flatseal to the virt-manager flatpak.
But I still get this error message:

Unable to complete install: 'Cannot access storage file '/run/media/pedan/extssd/vms/win11.qcow2' (as uid:107, gid:107): Permission denied'
pedan@bazzite:~$ id 107
uid=107(qemu) gid=107(qemu) groups=107(qemu)

Does anyone know, how to fix that?

Not at my machine just now to confirm, but I’m pretty sure that if you enable DX you get virt-manager installed in the base image. Perhaps that will work better than the flatpak.

1 Like

What do you mean with that?

I mean the “Developer Experience” or “devmode” thing. I think you’ll find an option to enable it in the list of “ujust” commands.

That’s not possible with the “default” image. I will have to find out another way to do that. Nonetheless, thank you!