vi /etc/gdm/Init/Default
/usr/bin/killall synergyc
while [ $(pgrep -x synergyc) ]; do sleep 0.1; done
/usr/bin/synergyc <SERVER HOSTNAME>
exit 0
vi /etc/gdm/PostLogin/Default
/usr/bin/killall synergyc
while [ $(pgrep -x synergyc) ]; do sleep 0.1; done
sudo chmod +x /etc/gdm/PostLogin/Default
/etc/X11/Xsession.d/85synergys
/usr/bin/killall synergyc
while [ $(pgrep -x synergyc) ]; do sleep 0.1; done
/usr/bin/synergyc <SERVER HOSTNAME>
sudo chmod +x /etc/X11/Xsession.d/85synergyc