Difference between revisions of "Installation on other distributions"

From Looking Glass
Jump to navigation Jump to search
Line 47: Line 47:
  
 
If you downloaded the file via the web link then you should have a 'zip' file. Simply unzip and cd into the new directory. If you used 'git' then cd into the 'LookingGlass' directory.  
 
If you downloaded the file via the web link then you should have a 'zip' file. Simply unzip and cd into the new directory. If you used 'git' then cd into the 'LookingGlass' directory.  
 
+
<pre style="white-space: pre-wrap;
<code>
+
white-space: -moz-pre-wrap;
 +
white-space: -pre-wrap;
 +
white-space: -o-pre-wrap;
 +
word-wrap: break-word;">
 
mkdir build
 
mkdir build
 
 
cd build
 
cd build
 
 
cmake ../
 
cmake ../
 
 
make
 
make
 
+
</pre>
</code>
 
  
 
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 setup the Windows side service.
 
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 setup the Windows side service.

Revision as of 15:33, 9 October 2019

Looking Glass Client

This guide will step you through building the looking glass client on Debian based systems from source, before you attempt to do this you should have a basic understanding how to use the shell.

Building the Application


Build Dependancies

  • binutils-dev
  • cmake
  • fonts-freefont-ttf
  • libsdl2-dev
  • libsdl2-ttf-dev
  • libspice-protocol-dev
  • libfontconfig1-dev
  • libx11-dev
  • nettle-dev
Debian (and maybe Ubuntu)

apt-get install binutils-dev cmake fonts-freefont-ttf libsdl2-dev libsdl2-ttf-dev libspice-protocol-dev libfontconfig1-dev libx11-dev nettle-dev

Fedora 29+

yum 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

OpenSuSE Leap 15.0+

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

Downloading

Either visit the site at Looking Glass Download Page

Or pull the lastest using the git command. git clone https://github.com/gnif/LookingGlass.git

Building

If you downloaded the file via the web link then you should have a 'zip' file. Simply unzip and cd into the new directory. If you used 'git' then cd into the 'LookingGlass' directory.

mkdir build
cd build
cmake ../
make

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 setup the Windows side service.

Configuring libvirt


Configuring QEMU


Looking Glass Service (Windows)

Running the Client