Changes

Jump to navigation Jump to search

Installation on other distributions

296 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:
emerge @setfile
</syntaxhighlight>
Make looking-glass callable by calling it from the build directory, adding the directory to your path, or issuing
<syntaxhighlight lang=bash>
ln -s $(pwd)/looking-glass-client /bin/
</syntaxhighlight>
from the build directory.
==== Downloading ====
Should this all go well you should be left with the file '''looking-glass-client'''. Before you run the client you will first need to configure either Libvirt or Qemu (whichever you prefer) and then set up the Windows side service.
 
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.
=== 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