Changes

Jump to navigation Jump to search

Installation on other distributions

1,404 bytes added, 03:03, 18 January 2020
<syntaxhighlight lang=bash>
zypper install make cmake binutils-devel libSDL2-devel libSDL2_ttf-devel libnettle-devel nettle spice-protocol-devel fontconfig-devel libX11-devel libconfig-devel libwayland-egl-devel libX11fixeslibXi-devel
</syntaxhighlight >
<syntaxhighlight lang=bash>
sudo pacman -Syu binutils-dev sdl2 sdl2_ttf libx11 nettle fontconfig cmake fonts-freefont-ttf libsdl2-dev libsdl2-ttf-dev libspicespice-protocolgnu-dev bfontconfig1free-dev libx11-dev nettle-devfonts
</syntaxhighlight>
<syntaxhighlight lang=bash>
sudo xbps-install -Syu binutils-devel cmake freefont-ttf SDL2-devel SDL2_ttf-devel spice-protocol fontconfig-devel libX11-devel nettle-devel
</syntaxhighlight>
Or pull the lastest using the '''git''' command.
<syntaxhighlight lang=bash>
git clone --recursive https://github.com/gnif/LookingGlass.git
</syntaxhighlight >
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 would like to use Spice to give you keyboard and mouse input along with clipboard sync support be sure to also do the following:
 
* Add a QXL video device, but in the type field type `none` (on older libvirt versions just disable the device in Windows Device Manager)
* Be sure to remove the virtual tablet pointing device.
* Be sure to add the virtual PS/2 Mouse device, and the Virtio keyboard device.
* Be sure that there is also a Spice Display configured (in addition to the video device)
 
If you want clipboard synchronization please see [[FAQ#How to enable clipboard synchronization via SPICE]]
=== Qemu Commands ===
Please note that you must obtain version 0.1.161 or later
 
==== A note about IVSHMEM and Scream Audio ====
Using IVSHMEM with Scream may interfere with Looking Glass as it may try to use the same device. Please do not use the IVSHMEM plugin for Scream. Use the default network transfer method. The IVSHMEM method induces additional latency that is built into its implementation. When using VirtIO for a network device the VM is already using a highly optimized memory copy anyway so there is no need to make another one.
 
If you insist on using IVSHMEM for Scream despite it's inferiority to the default network implementation the Windows Host Application can be told what device to use. Create a looking-glass-host.ini file in the same directory as the looking-glass-host.exe file. In it, you can use the os:shmDevice option like so:
 
<syntaxhighlight lang=INI>
[os]
shmDevice=1
</syntaxhighlight>
=== Using the Windows Host Application ===

Navigation menu