Changes

Jump to navigation Jump to search

Installation on other distributions

31 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 >
</syntaxhighlight>
;NOTE: The most common compile error is related to backtrace support this can be disabled by adding the following option to the cmake command. '''-DENABLE_BACKTRACE=OFF0''', however, if you disable this and need support for a crash please be sure to use gdb to obtain a backtrace manually or there is nothing that can be done to help you.
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.
The memory size (show as 32 in the example above may need to be adjusted as per [[Installation#Determining_Memory|Determining Memory]] section.
 
If you use AppArmor (which is enabled by default on Ubuntu), you will also need to add permission for qemu to access the memory file in apparmor. This can be done by adding '/dev/shm/looking-glass rw,' to the /etc/apparmor.d/abstractions/libvirt-qemu file
If you would like to use Spice to give you keyboard and mouse input along with clipboard sync support be sure to also do the following:
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