diff --git a/doc/install.rst b/doc/install.rst index c268a92d..03e2ef24 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -81,6 +81,12 @@ can be done by adding the following to /dev/shm/looking-glass rw, +then, restart AppArmor. + +.. code:: bash + + sudo systemctl restart apparmor + .. _client_qemu_commands: Qemu Commands diff --git a/doc/troubleshooting.rst b/doc/troubleshooting.rst index a4fa9fcd..49a4a878 100644 --- a/doc/troubleshooting.rst +++ b/doc/troubleshooting.rst @@ -48,41 +48,3 @@ The Clipboard is not Working - The Spice VDAgent is available in both Spice Guest Tools, and standalone as a separate installer. Check your installed programs and uninstall the VDAgent if it's installed separately. - -.. _followed_installation_instructions_but_looking_glass_still_doesnt_launch: - -Followed Installation Instructions but Looking Glass Still Doesn't Launch -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Depending on your distribution, various circumstances can cause Looking -Glass to still not run. Below is a list of known issues that can prevent -Looking Glass from running properly. - -AppArmor -^^^^^^^^ - -AppArmor is a security application that can prevent Looking Glass from -running. How to add security exceptions may vary on your distribution: - -Start by opening the file ``/etc/apparmor.d/abstractions/libvirt-qemu``. -Now locate and edit the following lines to represent how they appear in -the example: - -.. code:: text - - # for usb access - /dev/bus/usb/** rw, - /etc/udev/udev.conf r, - /sys/bus/ r, - /sys/class/ r, - /run/udev/data/* rw, - /dev/input/* rw, - - # Looking Glass - /dev/shm/looking-glass rw, - -Save, exit, and restart AppArmor: - -.. code:: text - - sudo systemctl restart apparmor