Other systems
OS X, Windows
http://synergy2.sourceforge.net/autostart.html
http://synergy2.sourceforge.net/configuration.html
http://synergy2.sourceforge.net/running.html
Note: Archives from https://web.archive.org/web/20110623034136/http://synergy2.sourceforge.net/
SLIM (CrunchBang, etc.)
Source: https://plus.google.com/104439500824171775945/posts/GRRMtL9zNmr
Nerd-Only Post: Autostart Synergy with Crunchbang Waldorf at the Login Prompt
I was having problems to get synergy to autostart as a client on my Linux desktop from the SLiM login manager, and this is how I solved it.
First I followed posts from the Crunchbang forums suggesting I add an entry to start synergy from
/etc/rc.local
, which startssynergyc
but unfortunately it couldn't connect to the X server.I don't know the details of how X servers auth files work, but I found out that if I set the environment variable to match the same Xauth file that SLiM was using, the problem went away.
By default SLiM has the following for its Xauth file:
/var/run/slim.auth
.So if you start synergy in
rc.local
like the following it should work:XAUTHORITY=/var/run/slim.auth sudo synergyc <client>
Hopefully if you're running into this problem as well this can fix the issue for you. And I hope that this doesn't cause some security issue I'm not aware of.