[doc] install/troubleshooting: AppArmor instructions already in Installation

This commit is contained in:
Jonathan Rubenstein 2021-07-05 12:23:22 -04:00 committed by Geoffrey McRae
parent 13e76e6db2
commit 13e9488667
2 changed files with 6 additions and 38 deletions

View File

@ -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

View File

@ -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