Virtualization on secureblue configuration, recommendations and caveats?

I can’t seem to configure virtualization on secureblue. The developers write that Libvirt, QEMU, the libvirt KVM/QEMU drivers, and virt-manager all come preinstalled now. However, I’m running into trouble trying to run a VM based on a ubuntu.iso (but can be any iso I guess) in virt-manager: QEMU/KVM user session is unable to connect to qemu://session. I toggled all daemons at ujust set-libvirt-daemons but this didn’t help… I didn’t find further instructions specific to secureblue. Maybe someone here knows.

While we are at it, is using Tor browser in a VM on secureblue recommenced for more anonymity doing let’s say torrenting media and critical journalism ? If yes, is Whonix on secureblue any good or just stick to something very simple and widespread such and Ubuntu?

At that point you probably want to look into Whonix. That can work in session mode.

ujust set-libvirt-daemons is correct, and i only selected, virtlogd and virtlockd.

Edit: You don’t need the other ones as session.

Also I think the issue might be that guide says that they should not be in /var/lib/libvirt/images but that’s where they need to be otherwise you’ll not have the right SELinux labels.

For example restorecon -FRv ~/.local/share/libvirt/images will make them unconfined_u:object_r:svirt_home_t:s0.

If you use the other path ~/.local/share/images then they will be unconfined_u:object_r:data_home_t:s0 which is wrong.

Then just

run0 chown -R username:username
run0 chmod 640 ~/local/share/libvirt/images/

Thanks!

I just started from a fresh secureblue installation and now I managed to add an QEMU/KVM user session connection.

With ‘they’ you refer to my downloaded isos? I cannot seem to move them from /home/user/downloads to /var/lib/libvirt/images, furthermore, the images file does not exist… Maybe I have to grant permission somewhere, enable something else or secureboot is blocking from starting up an iso in virt-manager?

Thanks again!