Black Lives Matter - Action and Equality. ... Adafruit joins the Stop Hate for Profit campaign.
0

Can`t set up synergy on Raspberry Pi
Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Please be positive and constructive with your questions and comments.

Can`t set up synergy on Raspberry Pi

by andregeraldes on Fri Apr 24, 2015 5:10 pm

Hello

I followed your tutorial on setting up synergy on the Raspberry Pi, with only one difference that my synergy server is running on an Ubuntu machine. So for setting up the server, I compiled the source files manually (almost the same way as compiling for the pi).

I can start the server on my Ubuntu machine, I get the message (`started server, waiting for clients`), but when I try to launch the client on the pi, I get the following error?

WARNING: failed to connect to server: incompatible client 1.4
/home/pi/downloads/synergy-1.4.15-Source/src/lib/synergy/CClientApp.cpp,378
DEBUG: retry in 1 seconds
/home/pi/downloads/synergy-1.4.15-Source/src/lib/synergy/CClientApp.cpp,342

It keeps trying to connect, but it always fails. Also, for every connection attempt on the pi, I see a message on the server saying `accepted client connection`, followed by another message `new client disconnected`.

I don`t know what to do. Both server and client are running version 1.4.15, compiled from the same source. I would appreciate any suggestion on how to fix this issue.

Best Regards,
Andre

andregeraldes
 
Posts: 2
Joined: Fri Apr 24, 2015 5:08 pm

Re: Can`t set up synergy on Raspberry Pi

by adafruit2 on Sat Apr 25, 2015 12:19 am

hiya, we're not sure either - the person who wrote that tutorial is no longer at adafruit. if you do figure it out please let us know!

adafruit2
Site Admin
 
Posts: 19222
Joined: Fri Mar 11, 2005 7:36 pm

Re: Can`t set up synergy on Raspberry Pi

by andregeraldes on Mon Apr 27, 2015 8:37 am

Hi

I just want you to know that I`ve managed to solve the problem. First I realized that the server I was running was actually in the version 1.4.12. Even though I had downloaded the sources for 1.4.15, something on the configuring files was telling it to compile and build the version 1.4.12 for my ubuntu machine. Since I don`t understand the cmake so well, I didn`t manage to compile version 1.4.15 manually.

Then I found this package, which is able to sucessfully install synergy 1.4.15 on ubuntu 14.04.2:
https://launchpad.net/~eugenesan/+archi ... ld/5381426

The command I used to install the package was:
sudo dpkg -i synergy_1.4.15-0-eugenesan-lucid1_i386.deb

At first attempt, it didn`t work because of some dependency problems. To solve that, I did two things:
1 - Ran this commands:
sudo apt-get install -f
sudo dpkg --configure -a
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade

2 - Installed libcryto++8 manually, downloading it from http://packages.ubuntu.com/lucid/i386/l ... 8/download

Now I can launch synergy server version 1.4.15 on my ubuntu machine and the synergy client 1.4.15 on the Raspberry Pi. It works flawlessly :)

I hope this helps.

andregeraldes
 
Posts: 2
Joined: Fri Apr 24, 2015 5:08 pm

Re: Can`t set up synergy on Raspberry Pi

by adafruit2 on Mon Apr 27, 2015 10:58 am

great, added to the tutorial!

adafruit2
Site Admin
 
Posts: 19222
Joined: Fri Mar 11, 2005 7:36 pm

Please be positive and constructive with your questions and comments.