Autostart Synergy before logging in

  • Last tested on Ubuntu 16.04 LTS (xenial) | easy | less than five minutes

Add the following line at the end of /etc/lightdm/lightdm.conf to start it as a client:

[SeatDefaults]
greeter-setup-script=/usr/bin/synergyc <OPTIONS> <SERVER>