Synergy is available from https://symless.com/synergy.
My Raspberry is running Ubuntu MATE but this should work with Raspbian too. It is working on Kubuntu 16.10.
Sources:
- https://www.raspberrypi.org/forums/viewtopic.php?t=165146&p=1065116
- https://wiki.archlinux.org/index.php/synergy#Clients_configuration
- https://neverendingsecurity.wordpress.com/2015/04/13/how-to-configure-synergy-on-linux/
- https://wiki.ubuntuusers.de/Synergy/
- https://ubuntu-mate.community/t/auto-login-to-the-desktop/60
Install newest version of Synergy client on Raspberry Pi 3
Install the necessary tools, get the source code, build, deploy and configure the Synergy client
apt-get update apt-get install gcc cmake libx11-dev libxtst-dev qt4-dev-tools libcurl4-openssl-dev libssl-dev libavahi-compat-libdnssd-dev git mkdir /root/downloads/ cd /root/downloads/ git clone http://github.com/symless/synergy/ cd ./synergy ./hm.sh conf -g1 ./hm.sh build cp -a ./bin/. /usr/bin
Create a script to start Synergy client
mkdir /home/YOUR_USER/scripts/ vim /home/YOUR_USER/scripts/synergy.sh
#!/bin/bash synergyc --enable-crypto -n NAME XXX.XXX.XXX.XXX setxkbmap de
chown -R YOUR_USER:YOUR_GROUP /home/YOUR_USER/scripts/ chmod u+x /home/YOUR_USER/scripts/synergy.sh
Create the necessary Synergy client config file for encryption
mkdir -p /home/YOUR_USER/.synergy/SSL/Fingerprints vim /home/YOUR_USER/.synergy/SSL/Fingerprints/TrustedServers.txt
EX:AM:PL:E3:E4:F5:06:07:08:09:00:01:02:03:04:05:06:07:08:09
chown -R YOUR_USER:YOUR_GROUP /home/YOUR_USER/.synergy/
Configure lightdm for auto login
To configure lightdm to auto login, add the directive autologin-user,
specifying a user name, to /etc/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.conf.
vim /etc/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.conf
[SeatDefaults] greeter-session=lightdm-gtk-greeter autologin-user=YOUR_USER