===== Debian(Ubuntu) =====
Start by opening the file <code>/etc/apparmor.d/abstractions/libvirt-qemu</code>. Now locate and edit the following lines to represent how they appear in the example:
<syntaxhighlight lang=text>
# for usb access
/dev/bus/usb/** rw,
# Looking Glass
/dev/shm/looking-glass rw,
</syntaxhighlight>