How to remotely installed Synergy in a Raspberry Pi

There are special situations where you are looking to install Synergy remotely on a Raspberry Pi via SSH because you don't have a keyboard and mouse connected to it, only a screen.

This is what you can do:

On your PC the latest version (for example):
Download from synergy_1.11.0.stable_b105+b2173efb_raspbian_armhf.deb
To make the rest of the process more simple, rename the installer file to synergy.deb
> rename download to synergy.deb
Transfer the file to your Pi (example:
> pscp synergy.deb pi@
Once the file has been transferred to your Pi:
> sudo apt install ./synergy.deb
> sudo mkdir -p ~/.config/lxsession/LXDE
> sudo touch ~/.config/lxsession/LXDE/autostart
> sudo nano ~/.config/lxsession/LXDE/autostart:
> ~/

sudo nano ~/
killall synergyc
sleep 1
synergyc --name pi
exit 0

sudo chmod 777 ~/


Have more questions? Submit a request


Article is closed for comments.