You are not logged in.

#1 2016-06-10 21:50:03

gree
Member
Registered: 2016-06-08
Posts: 74

synergy can't establish a connection client to server [SOLVED]

hi, I've installed synergy deb package and set up 1x server and 1x client.
the problem; when the client connects to the server it disconnects directly in an endless loop.
any clue how to debug this; or what this might be?
thanks

synergy ouput:

2016-06-10T23:48:20 NOTE: accepted client connection
	/build/synergy-pKG47p/synergy-1.4.16/src/lib/server/CClientListener.cpp,136
2016-06-10T23:48:20 NOTE: disconnecting client "server"
	/build/synergy-pKG47p/synergy-1.4.16/src/lib/server/CServer.cpp,2097
2016-06-10T23:48:20 WARNING: unrecognised client name "server", check server config
	/build/synergy-pKG47p/synergy-1.4.16/src/lib/server/CServer.cpp,309
2016-06-10T23:48:20 NOTE: client "server" has disconnected
	/build/synergy-pKG47p/synergy-1.4.16/src/lib/server/CClientProxy1_0.cpp,211

package: https://packages.debian.org/jessie/synergy

Last edited by gree (2016-06-13 23:24:52)

Offline

#2 2016-06-10 21:55:34

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: synergy can't establish a connection client to server [SOLVED]

I've never used synergy so I may not be much help but I think you should post your configuration files.

Offline

#3 2016-06-10 22:19:20

gree
Member
Registered: 2016-06-08
Posts: 74

Re: synergy can't establish a connection client to server [SOLVED]

mh, there is no real config file; you just setup one machine as server and type the IP into the client machine... thats pretty much it.

synergy uses a default port: 24800
firewall turned down; no difference
tried it with encryption and without - still the same.

in this blog they are talking about it; mentioning to click "elevate"; but this isn't available anymore(at least not on the version i'm using)
http://superuser.com/questions/460205/s … uac-dialog
https://github.com/symless/synergy/issues/3241

the elevate shown in the windows version doesn't exist on linux
https://webroot.i.lithium.com/t5/image/ … v=v2&px=-1

Offline

#4 2016-06-11 00:01:20

gree
Member
Registered: 2016-06-08
Posts: 74

Re: synergy can't establish a connection client to server [SOLVED]

looks like it has troubles with the "names" smile
debug: ERROR: server refused client with name "xxxxx"
This happens in both ways; Server runs great; Client has this error.

Offline

#5 2016-06-12 21:54:39

Eraph
Member
From: /au/qld/bne
Registered: 2016-02-29
Posts: 282
Website

Re: synergy can't establish a connection client to server [SOLVED]

The server has to be configured to be aware of all connecting clients. You have to tell it which clients are allowed to connect and where they will appear in relation to the server's screen. Do you have the GUI config tool installed? It's been ages since I used Synergy but it looks like the package for the GUI is quicksynergy, it'll make it much easier to set up.


Lenovo IdeaPad Yoga 13 | BunsenLabs Hydrogen (x64)
Intel Core i7-3537U | Intel HD4000 | 8GB DDR3 | 256GB SSD

Offline

#6 2016-06-13 18:04:29

gree
Member
Registered: 2016-06-08
Posts: 74

Re: synergy can't establish a connection client to server [SOLVED]

@Eraph thanks, synergy has a manager gui; quicksynergy is like a quick-setup tool which makes it fast.
I also created the conf file for synergy; stating the ip/hostname of the client and server.
not sure what's missing...

Offline

#7 2016-06-13 22:35:13

Eraph
Member
From: /au/qld/bne
Registered: 2016-02-29
Posts: 282
Website

Re: synergy can't establish a connection client to server [SOLVED]

Without seeing your configuration I can only guess. Could you share it here, substituting client and server names with something obvious?

Alternatively, have a look at configuration guides.


Lenovo IdeaPad Yoga 13 | BunsenLabs Hydrogen (x64)
Intel Core i7-3537U | Intel HD4000 | 8GB DDR3 | 256GB SSD

Offline

#8 2016-06-13 23:24:14

gree
Member
Registered: 2016-06-08
Posts: 74

Re: synergy can't establish a connection client to server [SOLVED]

thanks Eraph, like you said the config file had missing ":"...

Her the conf file:

section: screens
        myserver:
        myclient:
end
section: links
        myserver:
                right = myclient
        myclient:
                left = myserver

end

Code from https://help.ubuntu.com/community/SynergyHowto

edit: if anyone want to use the Above/Below screen arrangement you have to use up / down for the 'section: links' entries...

Last edited by gree (2016-06-13 23:31:10)

Offline

#9 2016-06-13 23:30:37

Eraph
Member
From: /au/qld/bne
Registered: 2016-02-29
Posts: 282
Website

Re: synergy can't establish a connection client to server [SOLVED]

That looks like it's been lifted directly from that page you sourced, is it an accurate representation of your own configuration? Does myclient correspond with the name of the client you saw in your error message? Did you restart the server after updating the config? Any progress at all?


Lenovo IdeaPad Yoga 13 | BunsenLabs Hydrogen (x64)
Intel Core i7-3537U | Intel HD4000 | 8GB DDR3 | 256GB SSD

Offline

#10 2016-06-13 23:31:59

gree
Member
Registered: 2016-06-08
Posts: 74

Re: synergy can't establish a connection client to server [SOLVED]

yes, mine look exactly the same way; just different screen names
... it does work now smile

Last edited by gree (2016-06-13 23:32:21)

Offline

#11 2016-06-13 23:51:42

Eraph
Member
From: /au/qld/bne
Registered: 2016-02-29
Posts: 282
Website

Re: synergy can't establish a connection client to server [SOLVED]

Nice one!


Lenovo IdeaPad Yoga 13 | BunsenLabs Hydrogen (x64)
Intel Core i7-3537U | Intel HD4000 | 8GB DDR3 | 256GB SSD

Offline

Board footer

Powered by FluxBB