Jump to content

Hello! 👋

These forums are now archived (read only).

Join us on Discord.

Beta5 and Ubuntu not playing properly together


Recommended Posts

Hi, Just updated to beta5.

Win10 plays wonderfully together with other win10 machines.

I have added the ports needed to windows firewall on both win10 machines. The ubuntu machine is currently running without any kind of firewall.

Ubuntu 17.10 is a completely different story. First of all, I am unable to get the service started via systemctl. I have tried all the tricks posted on this forum with no joy.
The only way I can get Synergy2 started is by running the service manually (/usr/bin/synergy-service).
When Synergy gets up and running, it connects to a server without any issues. It will however not function as a server. On the other clients I only get a connection refused when trying to connect to the ubuntu server.

One wish I have is the ability to force one machine to remain as a server, even if I use the mouse and/or keyboard on the other clients. Preferably with a customisable shortcut to toggle on/off said feature on the fly.

The log snippet below is from the ubuntu machine, and has been cut to only include the last restart of the service.

[2017-10-30T15:24:15] debug: service log path: /var/log/synergy-service.log
[2017-10-30T15:24:15] info: starting service...
[2017-10-30T15:24:15] debug: connecting websocket
[2017-10-30T15:24:15] debug: tcp server bind error: Address already in use
[2017-10-30T15:24:15] debug: failed to start connectivity test server
[2017-10-30T15:24:15] debug: connectivity test server started
[2017-10-30T15:24:15] debug: creating rpc endpoints
[2017-10-30T15:24:15] debug: rpc endpoints created
[2017-10-30T15:24:15] info: service started successfully
[2017-10-30T15:24:16] debug: websocket connected
[2017-10-30T15:24:16] debug: comparing profiles, id=-1 this=v-1 other=v21
[2017-10-30T15:24:16] debug: profile id changed, -1->8983
[2017-10-30T15:24:16] debug: profile name changed, ->default
[2017-10-30T15:24:16] debug: profile server changed, -1->18180
[2017-10-30T15:24:16] debug: profile screen set changed, added=2 removed=0
[2017-10-30T15:24:16] debug: new screens detected (2), preparing connectivity test
[2017-10-30T15:24:16] debug: starting connectivity test
[2017-10-30T15:24:16] debug: profile changed, storing local copy
[2017-10-30T15:24:16] debug: handling local profile server changed, mode=unknown thisId=18176 serverId=18180 lastServerId=-1
[2017-10-30T15:24:16] debug: starting core client process
[2017-10-30T15:24:16] error: aborting client start, no successful connectivity test results
[2017-10-30T15:24:16] debug: handling local profile screen set changed, mode=client
[2017-10-30T15:24:16] debug: comparing profiles, id=8983 this=v21 other=v21
[2017-10-30T15:24:16] debug: profile screen active changed, screenId=18176 false->true
[2017-10-30T15:24:16] debug: new screens detected (1), preparing connectivity test
[2017-10-30T15:24:16] debug: profile changed, storing local copy
[2017-10-30T15:24:16] debug: connectivity test passed for 10.0.0.28:24810
[2017-10-30T15:24:19] debug: successful report: dest = 18180, ips = 10.0.0.28
[2017-10-30T15:24:19] debug: local profile modified, id=8983
[2017-10-30T15:24:19] debug: comparing profiles, id=8983 this=v21 other=v21
[2017-10-30T15:24:19] debug: profile screen test result changed, screenId=18180 success=``->`10.0.0.28` failed=``->``
[2017-10-30T15:24:19] debug: handling new report from connectivity tester, screenId=18180 successfulIp=10.0.0.28 lastServerId=18180
[2017-10-30T15:24:19] debug: starting core client process
[2017-10-30T15:24:19] debug: starting core process with command: /usr/bin/synergyc -f --no-tray --debug DEBUG --name <ubuntuMachineName> --enable-drag-drop --profile-dir /home/<username>/.config/synergy --log synergy.log 10.0.0.28:24800
[2017-10-30T15:24:19] debug: core process started, id=3796
[2017-10-30T15:24:19] debug: finished connectivity test
[2017-10-30T15:24:33] debug: process already running, attempting to stop
[2017-10-30T15:24:33] debug: stopping core process
[2017-10-30T15:24:33] debug: core process exited: code=94 expected=true
[2017-10-30T15:24:33] debug: core process shutdown complete
[2017-10-30T15:24:33] debug: process already running, attempting to stop

 

Link to post
Share on other sites
2 hours ago, Nick Bolton said:

Could you try pressing F12?

Tried that several times already, with no joy. And the only way I've been able to get the win10 box to become server again has been to use the F12 key. Often several times before I got a reaction.

Although I gave it another shot just now, and after about a minute or so, the win10 box actually managed to connect to the ubuntu server! And yes, I have tried waiting much longer on previous attempts. And now it works as advertised, with fast reconnects for both machines when they become server.

Any thoughts to why I cannot get the ubuntu service to run? would be awesome not having to run synergy manually after logging in.

Link to post
Share on other sites
  • Synergy Team
Nick Bolton

Could you check the service log when running from systemctl?

/var/log/synergy/synergy-service.log

Link to post
Share on other sites
5 hours ago, Nick Bolton said:

Could you check the service log when running from systemctl?

/var/log/synergy/synergy-service.log

It actually didn't put anything in that log, but I had a look in syslog (which is getting spammed by synergy, btw), and noticed that it was trying to run the old synergyd daemon. I then realized that I had put in an override for the service for beta4 where I specified the old file. After removing that, reloading and starting the service, Synergy fired on all cylinders and now runs as a daemon/service :)

Thank you for all your help and effort, not just to me, but to everyone you help on this forum. It's not often you see the CEO this involved in helping on a forum like this. That tells me you care about us, your customers and users, and not just our money :) 

Link to post
Share on other sites
  • Synergy Team
Nick Bolton
13 hours ago, Hallonen said:

That tells me you care about us, your customers and users, and not just our money :) 

I love both Synergy and our customers, I hope that shows.

Glad you got it working! :) 

Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...