==== AppArmor ====
For libvirt versions before '''5.10.0''', if you are using AppArmor, you need to add permissions for QEMU to access the shared memory socketfile. This can be done by adding the following to ''/etc/apparmor.d/abstractions/libvirt-qemu''.
/dev/shm/looking-glass rw,