compmas2

Duplicate Screen Name (Dual Boot) Breaks Synergy

4 posts in this topic

I have a dual boot PC that runs Windows 10 and Ubuntu 17.04.  I had Synergy 2.0.4 working fine with another Windows 7 PC over my network, but when I tried to setup Windows 10 using the same hostname as I did in Ubuntu 17.04, Synergy 2.0.4 fails to connect.  Now Synergy 2.0.4 fails to work with any computers that I have it installed on because of the duplicate screen name.

I tried modifying the local configuration file to remove the offending duplicate screen name, but apparently whenever the service is restarted it downloads the screen names again from the Synergy server, causing Synergy to fail again. The online storage of the configuration of screens is persisting the issue and there seems no way to modify the online configuration.

In the logs I noticed the following error when a client connection is received:

[ Core    ] [2017-12-20T14:59:49] DEBUG: opening configuration "/var/lib/synergy/synergy.conf"
[ Core    ] [2017-12-20T14:59:49] ERROR: cannot read configuration "/var/lib/synergy/synergy.conf": read error: line 30: duplicate screen name "PC1"
[ Core    ] synergy-core: no configuration available
[ Service ] [2017-12-20T14:59:49] debug: core process exited: code=4 expected=false
[ Service ] [2017-12-20T14:59:49] debug: core process I/O cancelled
[ Service ] [2017-12-20T14:59:49] debug: core process event handlers disconnected

 

Edited by compmas2

Share this post


Link to post
Share on other sites

pff lol, wow.

Did you contact [email protected]?

This is indeed an edge case, and indeed a very annoying one since you cannot do anything about it.

A way to easily edit your own pc's name would be very helpful. they should offer a way to do this when this occurs to be sure.

Share this post


Link to post
Share on other sites

I have the same problem. I switched my 2nd pc from Server 2016 to Windows 10 to have some Linux docker-y goodness to experiment with and now I have duplicate names and I just can't get rid of them. I've got the Windows auto-generated name in there as well, from before I changed it, and no way to get rid of it....

I've not had much fun with Synergy 2 so far. When it worked, I had a hell of a time getting the mouse to move to the other PC. Once it was there all hell broke loose with CTRL and/or ALT getting stuck on one or both machines. I've seen "move mouse with arrow keys" Windows accessibility feature popping up on the 2nd pc for no reason. Weird bleeps and bloops from sticky keys and no way to configure the stupid thing. At ALL. Synergy 2 isn't ready for prime time. And that's putting it mildly.

Quote
[ Service ] [2017-12-23T11:06:04] debug: core process exited: code=4 expected=false
[ Service ] [2017-12-23T11:06:04] debug: core process I/O cancelled
[ Service ] [2017-12-23T11:06:04] debug: core process event handlers disconnected
[ Service ] [2017-12-23T11:06:06] debug: starting core process with command: C:\Program Files\Synergy\synergy-core.exe --server -f --debug DEBUG --name Speedy --enable-drag-drop --profile-dir C:\Users\kai\AppData\Local\Symless\Synergy --log C:\ProgramData\Symless\Synergy\synergy-core.log -c C:\Users\kai\AppData\Local\Symless\Synergy\synergy.conf --address 127.0.0.1:24800
[ Service ] [2017-12-23T11:06:06] debug: core process started, id=6840
[ Core    ] [2017-12-23T11:06:06] INFO: drag and drop enabled
[ Core    ] [2017-12-23T11:06:06] DEBUG: opening configuration "C:\Users\kai\AppData\Local\Symless\Synergy\synergy.conf"
[ Core    ] [2017-12-23T11:06:06] ERROR: cannot read configuration "C:\Users\kai\AppData\Local\Symless\Synergy\synergy.conf": read error: line 23: duplicate screen name "Remote"
[ Core    ] synergy-core.exe: no configuration available
[ Service ] [2017-12-23T11:06:06] debug: core process exited: code=4 expected=false
[ Service ] [2017-12-23T11:06:06] debug: core process I/O cancelled
[ Service ] [2017-12-23T11:06:06] debug: core process event handlers disconnected
[ Router  ] [2017-12-23T11:06:07] debug: ClientProxy: Received client connection for Remote from screen 44221
[ Service ] [2017-12-23T11:06:08] debug: starting core process with command: C:\Program Files\Synergy\synergy-core.exe --server -f --debug DEBUG --name Speedy --enable-drag-drop --profile-dir C:\Users\kai\AppData\Local\Symless\Synergy --log C:\ProgramData\Symless\Synergy\synergy-core.log -c C:\Users\kai\AppData\Local\Symless\Synergy\synergy.conf --address 127.0.0.1:24800
[ Service ] [2017-12-23T11:06:08] debug: core process started, id=15172
[ Core    ] [2017-12-23T11:06:08] INFO: drag and drop enabled
[ Core    ] [2017-12-23T11:06:08] DEBUG: opening configuration "C:\Users\kai\AppData\Local\Symless\Synergy\synergy.conf"
[ Core    ] [2017-12-23T11:06:08] ERROR: cannot read configuration "C:\Users\kai\AppData\Local\Symless\Synergy\synergy.conf": read error: line 23: duplicate screen name "Remote"
[ Core    ] synergy-core.exe: no configuration available
[ Service ] [2017-12-23T11:06:08] debug: core process exited: code=4 expected=false
[ Service ] [2017-12-23T11:06:08] debug: core process I/O cancelled
[ Service ] [2017-12-23T11:06:08] debug: core process event handlers disconnected
[ Config  ] [2017-12-23T11:06:09] info: Sending log file...

I'll try renaming my 2nd workstation and see if that helps. But honestly, having to rename your PC to get a tool working is madness.

Share this post


Link to post
Share on other sites

 I think you can contact symless about this, they might be able to remove the old screen for you.

Share this post


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