How to install KVM Synergy on Raspberry Pi 2

How to install KVM Synergy on Raspberry Pi 2

At first install all missing libraries:

apt-get install gcc cmake libx11-dev libxtst-dev curl libcurl3 libcurl4-gnutls-dev qt4-qmake

download the newest version from


Now tricky part which is true for version Synergy 1.8.8

1. extract files and go inside synergy/ext
2.  unpack files
unzip ./ -d ./gmock-1.6.0
unzip ./ -d ./gtest-1.6.0

tar -xzf openssl-1.0.2.tar.gz

3. make new dir inside synergy root folder
mkdir /home/pi/synergy/openssl

4. Copy folder openssl from /home/pi/synergy/ext/openssl-1.0.2/include/openssl to root folder of synergy

cp -a /home/pi/synergy/ext/openssl-1.0.2/include/openssl/. /home/pi/synergy/openssl

5. If you want to play and fix symlinks - go ahead, the easiest way is to copy crypto folder
to folder above synergy

cp -a /home/pi/synergy/ext/openssl-1.0.2/crypto/. /home/pi/crypto

5. go to  /home/pi/synergy/ and run
  ./ conf -g1
  ./ build

if there any errors from ld use

ld -lssl --verbose

and check folders and symlinks.

and run again 
  ./ build

when finished it could be errors

[100%] Linking CXX executable ../../../../../bin/unittests
[100%] Built target unittests
Going back to:
 Make GUI command: make -w
Entering dir: src/gui
make: Entering directory '
make: *** No targets specified and no makefile found. Stop.
make: Leaving directory '
Going back to:
Error: make -w failed with error: 512

No worries.

6. copy from synergy bin folder

cp -a ./bin/. /usr/bin

7. To start automatically

7.1 create startup script



killall synergyc
sleep 1
export DISPLAY=:0 && synergyc -d INFO -n pi -l /var/log/synergy.log

exit 0

where is your synergy server`s IP.


edit /etc/xdg/lxsession/LXDE-pi/autostart
add to the end of line

8. Start synergy and enjoy!



Popular posts from this blog

How to clean DB from old logs in Magento 1.x

Reduce (shrink) and resize raw disk at Proxmox

Apache 2.4 + mod_wsgi + Python 3.7 + Django installation on Centos 7.10