This is how I fixed synergy2. First I generated a .Xauthority in my home :
$ xauth generate :0 . trusted
$ xauth add ${HOST}:0 . $(xxd -l 16 -p /dev/urandom)
$ xauth list
$ ls -la .Xauthority
then I added two lines in synergy service (/etc/systemd/system/multi-user.target.wants/synergy.service), inside [Service] section :
Environment=DISPLAY=:0
Environment=XAUTHORITY=/home/my_user_name/.Xauthority
Note: replace my_user_name by your user.
Then I reload systemctl services and I started synergy service :
# systemctl daemon-reload
# systemctl restart synergy
Hope this will help. This shoud be done automatically in the PKGBUILD I think
Pinned Comments
jaap commented on 2019-10-05 12:15 (UTC) (edited on 2019-10-05 12:24 (UTC) by jaap)
Hey guys, sorry for not really maintaining this package. Synergy 2 is never going to become a real product, this version is not supported anymore. Although you can of course still use it if you have the license and everything works for you. This will be the last update I will do to this package, as it is the last update.
From unofficial sources I have heard that everyone who owns a valid synergy2 license will get a valid license for the next major release.