Jump to content

Hello! 👋

These forums are now archived (read only).

Join us on Discord.

Duplicate Screen Name (Dual Boot) Breaks Synergy


Recommended Posts

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
Link to post
Share on other sites
jaap aarts

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.

Link to post
Share on other sites
Kay Zastrutzki

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.

Link to post
Share on other sites
  • 4 months later...

I found a way to fix this. I had to rename one of the computers. Here is a step-by-step way of getting around this (windows):

 

  1. Rename one of the computers. We'll call this computer 'Laptop'.
  2. Open your services on 'Laptop' list and stop the 'Synergy' service
  3. Open regedit on 'Laptop' and navigate to `Computer\HKEY_CURRENT_USER\Software\Symless\Synergy`
  4. You will find 'profileId', 'screenId', 'userId', userToken'. Delete each one.
  5. On your other computer, right-click the 'Laptop' duplicate screen and remove it.
  6. Start the 'Synegry' service again on 'Laptop', open the client and sign-in again

 

If you have renamed both computers like I did, you will have to perform those same steps (stop service, remove keys, start service) on that computer too. This is also required if you simply rename a computer and synergy then stops 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...