Changes

Jump to navigation Jump to search

Installation on other distributions

152 bytes added, 12:52, 3 May 2020
→‎libvirt Configuration: New section AppArmor
<syntaxhighlight lang=bash>
yum dnf install make cmake binutils-devel SDL2-devel SDL2_ttf-devel nettle-devel spice-protocol fontconfig-devel libX11-devel egl-wayland-devel wayland-devel mesa-libGLU-devel mesa-libGLES-devel mesa-libGL-devel mesa-libEGL-devel libXfixes-devel libXi-devel
</syntaxhighlight >
===== Gentoo =====
First set up the necessary USE flagsif needed:
<syntaxhighlight lang=bash>
echo "media-libs/libsdl2 gles" | sudo tee --append >> /etc/portage/package.use/libsdl2 >/dev/nullecho "media-libs/nettle gmp" | sudo tee --append >> /etc/portage/package.use/nettle >/dev/null
</syntaxhighlight>
Then fetch the packages:
You can call the client from the build directory; or, you can make it callable generally by adding the directory to your path or issuing
<syntaxhighlight lang=bash>
ln -s $(pwd)/looking-glass-client /usr/local/bin/
</syntaxhighlight>
from the build directory.  Symlinks are preferable to moving the binary; it's inadvisable to have unmanaged packages hanging around your system.
=== libvirt Configuration ===
If you want clipboard synchronization please see [[FAQ#How to enable clipboard synchronization via SPICE]]
 
==== 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 socket. This can be done by adding the following to ''/etc/apparmor.d/abstractions/libvirt-qemu''.
/dev/shm/looking-glass rw,
=== Qemu Commands ===
99

edits

Navigation menu