Omid

Mac Configuration fails: FATAL: unknown screen name <my-laptop1>

13 posts in this topic

I'm trying to re-configure synergy since my laptop name (network/screen name) is changed. I use the Synergy "Configure Server..." interface to update the screen name, but it looks like it still used the old screen name which doesn't exist anymore. I'm seeing this error in the log:

[2017-06-06T11:35:21] FATAL: unknown screen name `my-laptop1'
[2017-06-06T11:35:22] ERROR: process exited with error code: 1
[2017-06-06T11:35:22] INFO: detected process not running, auto restarting

`my-laptop1` is the old screen name and the new screen name is `my-laptop2`

I tried uninstalling the app and installing it again but still no luck! I'm wondering where is it reading this info from and if I can remove the cached config manually.

Share this post


Link to post
Share on other sites

Please provide more details about your machines (OS, 32/64 bit, Synergy version installed, connected to the network via Ethernet or Wi-Fi, specify which one is the server). Also, post a screenshot of both machine's Synergy interface and the Server Configuration interface on your server machine.

Share this post


Link to post
Share on other sites

Synergy version: 1.8.8-stable-25a8cb2

OS: OS X El Capitan Version 10.11.4

Connected via Wi-Fi

Mac is the server (omonshiz-mn2) and Linux box is the client (omonshiz-ld1)

[2017-06-06T11:59:32] INFO: starting server
[2017-06-06T11:59:32] INFO: config file: /var/folders/kz/zq8ychgs6rz8pqrskdfrdvf40003tp/T/Synergy.kD4883
[2017-06-06T11:59:32] INFO: log level: INFO
[2017-06-06T11:59:33] INFO: drag and drop enabled
[2017-06-06T11:59:33] FATAL: unknown screen name `omonshiz-mn1'
[2017-06-06T11:59:33] ERROR: process exited with error code: 1
[2017-06-06T11:59:33] INFO: detected process not running, auto restarting
[2017-06-06T11:59:34] INFO: starting server
[2017-06-06T11:59:34] INFO: config file: /var/folders/kz/zq8ychgs6rz8pqrskdfrdvf40003tp/T/Synergy.yP4883
[2017-06-06T11:59:34] INFO: log level: INFO
[2017-06-06T11:59:34] INFO: drag and drop enabled
[2017-06-06T11:59:34] FATAL: unknown screen name `omonshiz-mn1'
[2017-06-06T11:59:34] ERROR: process exited with error code: 1
[2017-06-06T11:59:34] INFO: detected process not running, auto restarting
[2017-06-06T11:59:35] INFO: starting server
[2017-06-06T11:59:35] INFO: config file: /var/folders/kz/zq8ychgs6rz8pqrskdfrdvf40003tp/T/Synergy.eq4883
[2017-06-06T11:59:35] INFO: log level: INFO
[2017-06-06T11:59:35] INFO: drag and drop enabled
[2017-06-06T11:59:35] FATAL: unknown screen name `omonshiz-mn1'
[2017-06-06T11:59:35] ERROR: process exited with error code: 1
[2017-06-06T11:59:35] INFO: detected process not running, auto restarting
[2017-06-06T11:59:36] INFO: starting server
[2017-06-06T11:59:36] INFO: config file: /var/folders/kz/zq8ychgs6rz8pqrskdfrdvf40003tp/T/Synergy.daa883
[2017-06-06T11:59:36] INFO: log level: INFO
[2017-06-06T11:59:36] FATAL: unknown screen name `omonshiz-mn1'
[2017-06-06T11:59:36] INFO: drag and drop enabled
[2017-06-06T11:59:36] ERROR: process exited with error code: 1
[2017-06-06T11:59:36] INFO: detected process not running, auto restarting
[2017-06-06T11:59:37] INFO: starting server
[2017-06-06T11:59:37] INFO: config file: /var/folders/kz/zq8ychgs6rz8pqrskdfrdvf40003tp/T/Synergy.eaa883
[2017-06-06T11:59:37] INFO: log level: INFO
[2017-06-06T11:59:37] INFO: drag and drop enabled
[2017-06-06T11:59:37] FATAL: unknown screen name `omonshiz-mn1'
[2017-06-06T11:59:37] ERROR: process exited with error code: 1
[2017-06-06T11:59:37] INFO: detected process not running, auto restarting
[2017-06-06T11:59:38] INFO: starting server
[2017-06-06T11:59:38] INFO: config file: /var/folders/kz/zq8ychgs6rz8pqrskdfrdvf40003tp/T/Synergy.gaa883
[2017-06-06T11:59:38] INFO: log level: INFO
[2017-06-06T11:59:38] INFO: drag and drop enabled
[2017-06-06T11:59:38] FATAL: unknown screen name `omonshiz-mn1'
[2017-06-06T11:59:38] ERROR: process exited with error code: 1
[2017-06-06T11:59:38] INFO: detected process not running, auto restarting

 

Screen Shot 2017-06-06 at 11.54.01 AM.png

Screen Shot 2017-06-06 at 11.57.39 AM.png

Screen Shot 2017-06-06 at 11.58.24 AM.png

Share this post


Link to post
Share on other sites

You added omonshiz-mn2 on the server configuration interface, but it shows that your server machine is actually named omonshiz-mn1.

Share this post


Link to post
Share on other sites
19 minutes ago, Paul Suarez said:

You added omonshiz-mn2 on the server configuration interface, but it shows that your server machine is actually named omonshiz-mn1.

I'm wondering where is that coming from because `omonshiz-mn1` doesn't exist anymore and my current machine hostname is `omonshiz-mn2`.

Share this post


Link to post
Share on other sites

The screen name does not actually relate to what your machine's host name is. It just follows the machine's host name initially but you should be able to edit. Right now, the best thing to do is to go to the server's Configure Server interface and edit the screen name and it should be good to go.

Share this post


Link to post
Share on other sites
1 minute ago, Paul Suarez said:

The screen name does not actually relate to what your machine's host name is. It just follows the machine's host name initially but you should be able to edit. Right now, the best thing to do is to go to the server's Configure Server interface and edit the screen name and it should be good to go.

Unfortunately, changing the screen name in the Configure Server interface doesn't change it, as you can see in my screenshot my config has omonshiz-mn2

Share this post


Link to post
Share on other sites

I see it. You should be able to double click the screen and edit that.

Share this post


Link to post
Share on other sites

Was this ever answered? I have the exact same problem. My Mac was originally named Toms-iMac.local by the installer. I have since renamed it to Toms-MacPro but Synergy won't let go of the original name. I have changed the name in the server configuration screen but it still complains about Toms-iMac.local. I have no idea where it is still getting that from. This is very odd and is keeping me from being able to start this Mac as my Synergy server.

Share this post


Link to post
Share on other sites

This is the contents of synergy.conf:

 

section: screens
    Toms-MacPro:
        halfDuplexCapsLock = false
        halfDuplexNumLock = false
        halfDuplexScrollLock = false
        xtestIsXineramaUnaware = false
        switchCorners = none 
        switchCornerSize = 0
end

section: aliases
end

section: links
    Toms-MacPro:
end

section: options
    relativeMouseMoves = false
    screenSaverSync = true
    win32KeepForeground = false
    clipboardSharing = true
    switchCorners = none 
    switchCornerSize = 0
end

Error messages when I start Synergy:

 

[2017-08-27T16:35:55] INFO: log level: INFO

[2017-08-27T16:35:55] INFO: drag and drop enabled

[2017-08-27T16:35:55] FATAL: unknown screen name `Toms-iMac.local'

[2017-08-27T16:35:55] ERROR: process exited with error code: 1

[2017-08-27T16:35:55] INFO: detected process not running, auto restarting

[2017-08-27T16:35:56] INFO: starting server

[2017-08-27T16:35:56] INFO: config file: /var/folders/yr/f7cp44714cj79_czv6qrh6v00000gn/T/Synergy.ten855

[2017-08-27T16:35:56] INFO: log level: INFO

[2017-08-27T16:35:56] INFO: drag and drop enabled

[2017-08-27T16:35:56] FATAL: unknown screen name `Toms-iMac.local'

[2017-08-27T16:35:56] ERROR: process exited with error code: 1

[2017-08-27T16:35:56] INFO: detected process not running, auto restarting

[2017-08-27T16:35:57] INFO: starting server

[2017-08-27T16:35:57] INFO: config file: /var/folders/yr/f7cp44714cj79_czv6qrh6v00000gn/T/Synergy.snN855

[2017-08-27T16:35:57] INFO: log level: INFO

[2017-08-27T16:35:57] INFO: drag and drop enabled

[2017-08-27T16:35:57] FATAL: unknown screen name `Toms-iMac.local'

[2017-08-27T16:35:57] ERROR: process exited with error code: 1

[2017-08-27T16:35:57] INFO: detected process not running, auto restarting

Share this post


Link to post
Share on other sites

Here is the contents of the config file listed:

 

Toms-MacPro:~ lockwt01$ cat /var/folders/yr/f7cp44714cj79_czv6qrh6v00000gn/T/Synergy.snN855

section: screens

    Toms-MacPro:

        halfDuplexCapsLock = false

        halfDuplexNumLock = false

        halfDuplexScrollLock = false

        xtestIsXineramaUnaware = false

        switchCorners = none 

        switchCornerSize = 0

end

 

section: aliases

end

 

section: links

    Toms-MacPro:

end

 

section: options

    relativeMouseMoves = false

    screenSaverSync = true

    win32KeepForeground = false

    clipboardSharing = true

    switchCorners = none 

    switchCornerSize = 0

end

 

Share this post


Link to post
Share on other sites

I found the problem. 

Deleting the file com.http-symless-com.Synergy.plist in /Users/<username>/Library/Preferences/ caused Synergy to start the configuration from scratch and it finally let go of the old system name. There should be an easier way to do that...

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