[GH-ISSUE #339] unrecognised client name "xxx", check server config #273

Open
opened 2026-05-05 05:53:27 -06:00 by gitea-mirror · 19 comments
Owner

Originally created by @asjones987 on GitHub (Jun 20, 2019).
Original GitHub issue: https://github.com/debauchee/barrier/issues/339

Operating Systems

Server: Windows 7
Client: Windows 10
Barrier Version: 2.2

I am getting the an error "unrecognised client name "AJONES-LHQ", check server config" in my log. and the client can't connect. I looked at the related issues and was confused as both client and server have a screen name set. Below is part of the log file that repeats.

Any thoughts?

thanks for the help!

INFO: OpenSSL 1.0.2l 25 May 2017
INFO: accepted secure socket
INFO: AES256-GCM-SHA384 TLSv1.2 Kx=RSA Au=RSA Enc=AESGCM(256) Mac=AEAD
NOTE: accepted client connection
WARNING: unrecognised client name "AJONES-LHQ", check server config
NOTE: disconnecting client "AJONES-LHQ"
NOTE: client "AJONES-LHQ" has disconnected
INFO: OpenSSL 1.0.2l 25 May 2017
INFO: accepted secure socket
INFO: AES256-GCM-SHA384 TLSv1.2 Kx=RSA Au=RSA Enc=AESGCM(256) Mac=AEAD
NOTE: accepted client connection
WARNING: unrecognised client name "AJONES-LHQ", check server config
NOTE: disconnecting client "AJONES-LHQ"
NOTE: client "AJONES-LHQ" has disconnected

Originally created by @asjones987 on GitHub (Jun 20, 2019). Original GitHub issue: https://github.com/debauchee/barrier/issues/339 ### Operating Systems ### Server: Windows 7 Client: Windows 10 Barrier Version: 2.2 I am getting the an error "unrecognised client name "AJONES-LHQ", check server config" in my log. and the client can't connect. I looked at the related issues and was confused as both client and server have a screen name set. Below is part of the log file that repeats. Any thoughts? thanks for the help! INFO: OpenSSL 1.0.2l 25 May 2017 INFO: accepted secure socket INFO: AES256-GCM-SHA384 TLSv1.2 Kx=RSA Au=RSA Enc=AESGCM(256) Mac=AEAD NOTE: accepted client connection WARNING: unrecognised client name "AJONES-LHQ", check server config NOTE: disconnecting client "AJONES-LHQ" NOTE: client "AJONES-LHQ" has disconnected INFO: OpenSSL 1.0.2l 25 May 2017 INFO: accepted secure socket INFO: AES256-GCM-SHA384 TLSv1.2 Kx=RSA Au=RSA Enc=AESGCM(256) Mac=AEAD NOTE: accepted client connection WARNING: unrecognised client name "AJONES-LHQ", check server config NOTE: disconnecting client "AJONES-LHQ" NOTE: client "AJONES-LHQ" has disconnected
gitea-mirror added the
macOS
bug
windows
linux
labels 2026-05-05 05:53:27 -06:00
Author
Owner

@noisyshape commented on GitHub (Jun 20, 2019):

Did you add the client as a screen in the server configuration?

<!-- gh-comment-id:504118838 --> @noisyshape commented on GitHub (Jun 20, 2019): Did you add the client as a screen in the server configuration?
Author
Owner

@asjones987 commented on GitHub (Jun 20, 2019):

The client showed up then after a reboot disappeared... it was very strange. Aft first Barrier recognized it but later did not. I was confused as to whee to add the client on the server config. Then i found this article just a few minutes ago.

https://puvox.software/blog/solution-synergy-shows-warning-error-unrecognised-client-name/
Paraphrasing :
• The problem is that the user which tries to connect is unrecognized, it means you have to add that user in “ALLOWED” list.
• STOP running Barrier by clicking on the Stop button at the bottom right of the Barrier screen (changes to Start).
• To do this, open “Configure Server”, then drag a new PC ( from upper right) into a cell.
• Then double click that new PC icon, and enter anything in the SCREEN NAME field, but in ALIAS field, add exact username of the CLIENT.
• Click OK>OK and START them on both PC’s again. Problem should be solved !

Need to clean up the steps and add them to the Wiki. I wish the developers could make this a bit more clear in the setup.

Love to leave this open as a request to make the interface more obvious (but may be better to close it out).

<!-- gh-comment-id:504123501 --> @asjones987 commented on GitHub (Jun 20, 2019): The client showed up then after a reboot disappeared... it was very strange. Aft first Barrier recognized it but later did not. I was confused as to whee to add the client on the server config. Then i found this article just a few minutes ago. https://puvox.software/blog/solution-synergy-shows-warning-error-unrecognised-client-name/ Paraphrasing : • The problem is that the user which tries to connect is unrecognized, it means you have to add that user in “ALLOWED” list. • STOP running Barrier by clicking on the Stop button at the bottom right of the Barrier screen (changes to Start). • To do this, open “Configure Server”, then drag a new PC ( from upper right) into a cell. • Then double click that new PC icon, and enter anything in the SCREEN NAME field, but in ALIAS field, add exact username of the CLIENT. • Click OK>OK and START them on both PC’s again. Problem should be solved ! Need to clean up the steps and add them to the Wiki. I wish the developers could make this a bit more clear in the setup. Love to leave this open as a request to make the interface more obvious (but may be better to close it out).
Author
Owner

@chrissound commented on GitHub (Jul 2, 2019):

I ran into this issue... I had the same hostname set on both devices... I've changed it but still get this error.

Both devices are running Linux.

<!-- gh-comment-id:507593460 --> @chrissound commented on GitHub (Jul 2, 2019): I ran into this issue... I had the same hostname set on both devices... I've changed it but still get this error. Both devices are running Linux.
Author
Owner

@Deity commented on GitHub (Jul 12, 2019):

I run into this issue too, both are Mac (server Sierra / client Mojave), ver. 2.3.0 .
It turns out that I have to manually SAVE the config file, after the client name has been added to "server configuration", then load the config file from the saved file, and reload the server.

<!-- gh-comment-id:510879244 --> @Deity commented on GitHub (Jul 12, 2019): I run into this issue too, both are Mac (server Sierra / client Mojave), ver. 2.3.0 . It turns out that I have to manually SAVE the config file, after the client name has been added to "server configuration", then load the config file from the saved file, and reload the server.
Author
Owner

@AdrianKoshka commented on GitHub (Jul 12, 2019):

I had the same hostname set on both devices

The hostname of a machine and the "Screen name" of a machine can be different. If you need to, or want to change the screen name, you can do so by clicking on the "barrier" menu option, and then "change settings"

image

image

<!-- gh-comment-id:510880254 --> @AdrianKoshka commented on GitHub (Jul 12, 2019): > I had the same hostname set on both devices The hostname of a machine and the "Screen name" of a machine can be different. If you need to, or want to change the screen name, you can do so by clicking on the "barrier" menu option, and then "change settings" ![image](https://user-images.githubusercontent.com/8690255/61130467-bde43a00-a484-11e9-83e9-3b2273d24e6c.png) ![image](https://user-images.githubusercontent.com/8690255/61130487-c5a3de80-a484-11e9-9015-0d7f1c2d8d57.png)
Author
Owner

@Deity commented on GitHub (Jul 12, 2019):

I run into this issue too, both are Mac (server Sierra / client Mojave), ver. 2.3.0 .
It turns out that I have to manually SAVE the config file, after the client name has been added to "server configuration", then load the config file from the saved file, and reload the server.

Not sure is it the reason, but Barrier seems to look for *.conf for configuration file, yet the saved config file is of .sgc extension

<!-- gh-comment-id:510885071 --> @Deity commented on GitHub (Jul 12, 2019): > I run into this issue too, both are Mac (server Sierra / client Mojave), ver. 2.3.0 . > It turns out that I have to manually SAVE the config file, after the client name has been added to "server configuration", then load the config file from the saved file, and reload the server. Not sure is it the reason, but Barrier seems to look for *.conf for configuration file, yet the saved config file is of .sgc extension
Author
Owner

@mirh commented on GitHub (Sep 15, 2019):

OP's solution did it for me.
And I'm not usually the guy posting +1 in threads, and I certainly don't want to nag anyone...

But I just wanted to state how extremely nonintuitive the current handling of new clients is.

<!-- gh-comment-id:531558237 --> @mirh commented on GitHub (Sep 15, 2019): OP's solution did it for me. And I'm not usually the guy posting +1 in threads, and I certainly don't want to nag anyone... But I just wanted to state how *extremely* nonintuitive the current handling of new clients is.
Author
Owner

@OFark commented on GitHub (Mar 23, 2020):

I run into this issue too, both are Mac (server Sierra / client Mojave), ver. 2.3.0 .
It turns out that I have to manually SAVE the config file, after the client name has been added to "server configuration", then load the config file from the saved file, and reload the server.

This. So I had to save my configuration, stop the server, choose configuration from file, browse to the saved file and restart the server for it to work.

<!-- gh-comment-id:602503814 --> @OFark commented on GitHub (Mar 23, 2020): > I run into this issue too, both are Mac (server Sierra / client Mojave), ver. 2.3.0 . > It turns out that I have to manually SAVE the config file, after the client name has been added to "server configuration", then load the config file from the saved file, and reload the server. This. So I had to save my configuration, stop the server, choose configuration from file, browse to the saved file and restart the server for it to work.
Author
Owner

@Zackhardtoname commented on GitHub (Apr 6, 2020):

For me, I just added the client's name as the screenname, not an alias. It worked too.

<!-- gh-comment-id:609949542 --> @Zackhardtoname commented on GitHub (Apr 6, 2020): For me, I just added the client's name as the screenname, not an alias. It worked too.
Author
Owner

@FreddieDev commented on GitHub (Jun 16, 2020):

For me, I added it as an alias, gave it any screen name but the key part was to restart the server and client.

<!-- gh-comment-id:644718297 --> @FreddieDev commented on GitHub (Jun 16, 2020): For me, I added it as an alias, gave it any screen name but the key part was to restart the server and client.
Author
Owner

@erm3nda commented on GitHub (Aug 6, 2020):

Nevermind I had to drag the "computer icon" to make it work ... a bit unexpected :-)

<!-- gh-comment-id:670100603 --> @erm3nda commented on GitHub (Aug 6, 2020): Nevermind I had to drag the "computer icon" to make it work ... a bit unexpected :-)
Author
Owner

@AdarshKvT commented on GitHub (Jan 3, 2021):

YouTube Synergy Official: https://youtu.be/O9rDhPnaKK8

Just watch the video till the end and you will get to know what exactly a problem is and how to resolve it.
For recognizing the other system, go to server configuration and drop another pc into the rectangle box (grid) > double click over the newly drag pc and rename it to the home-pc (whatever the other device name is).
Then restart the application start the server and client again.

server_config

Note: In this solution I have renamed the client side app name to home-pc. Simply go to the EDIT tab > SETTINGS > SCREEN NAME
home-pc

<!-- gh-comment-id:753624947 --> @AdarshKvT commented on GitHub (Jan 3, 2021): YouTube Synergy Official: https://youtu.be/O9rDhPnaKK8 Just watch the video till the end and you will get to know what exactly a problem is and how to resolve it. For recognizing the other system, go to server configuration and drop another pc into the rectangle box (grid) > double click over the newly drag pc and rename it to the home-pc (whatever the other device name is). Then restart the application start the server and client again. ![server_config](https://user-images.githubusercontent.com/48561692/103480810-80076e00-4dfc-11eb-8c4c-d2c8c2f97017.png) Note: In this solution I have renamed the client side app name to home-pc. Simply go to the EDIT tab > SETTINGS > SCREEN NAME ![home-pc](https://user-images.githubusercontent.com/48561692/103480864-0754e180-4dfd-11eb-8634-a164c42f54c2.png)
Author
Owner

@YassineBaghdadi commented on GitHub (Mar 15, 2022):

The client showed up then after a reboot disappeared... it was very strange. Aft first Barrier recognized it but later did not. I was confused as to whee to add the client on the server config. Then i found this article just a few minutes ago.

https://puvox.software/blog/solution-synergy-shows-warning-error-unrecognised-client-name/ Paraphrasing : • The problem is that the user which tries to connect is unrecognized, it means you have to add that user in “ALLOWED” list. • STOP running Barrier by clicking on the Stop button at the bottom right of the Barrier screen (changes to Start). • To do this, open “Configure Server”, then drag a new PC ( from upper right) into a cell. • Then double click that new PC icon, and enter anything in the SCREEN NAME field, but in ALIAS field, add exact username of the CLIENT. • Click OK>OK and START them on both PC’s again. Problem should be solved !

Need to clean up the steps and add them to the Wiki. I wish the developers could make this a bit more clear in the setup.

Love to leave this open as a request to make the interface more obvious (but may be better to close it out).

it worked for me

<!-- gh-comment-id:1068435889 --> @YassineBaghdadi commented on GitHub (Mar 15, 2022): > The client showed up then after a reboot disappeared... it was very strange. Aft first Barrier recognized it but later did not. I was confused as to whee to add the client on the server config. Then i found this article just a few minutes ago. > > https://puvox.software/blog/solution-synergy-shows-warning-error-unrecognised-client-name/ Paraphrasing : • The problem is that the user which tries to connect is unrecognized, it means you have to add that user in “ALLOWED” list. • STOP running Barrier by clicking on the Stop button at the bottom right of the Barrier screen (changes to Start). • To do this, open “Configure Server”, then drag a new PC ( from upper right) into a cell. • Then double click that new PC icon, and enter anything in the SCREEN NAME field, but in ALIAS field, add exact username of the CLIENT. • Click OK>OK and START them on both PC’s again. Problem should be solved ! > > Need to clean up the steps and add them to the Wiki. I wish the developers could make this a bit more clear in the setup. > > Love to leave this open as a request to make the interface more obvious (but may be better to close it out). it worked for me
Author
Owner

@AntonyParks commented on GitHub (Jun 21, 2022):

OPs solution worked for me after struggling with SSL issues. Turns out it was just needing the client name to be the alias. If it matters, server was on Windows 11, client was on Mac OS Monterey.

<!-- gh-comment-id:1162276822 --> @AntonyParks commented on GitHub (Jun 21, 2022): OPs solution worked for me after struggling with SSL issues. Turns out it was just needing the client name to be the alias. If it matters, server was on Windows 11, client was on Mac OS Monterey.
Author
Owner

@stefan-reich commented on GitHub (Jul 21, 2022):

I run into this issue too, both are Mac (server Sierra / client Mojave), ver. 2.3.0 . It turns out that I have to manually SAVE the config file, after the client name has been added to "server configuration", then load the config file from the saved file, and reload the server.

Exactly! This finally made my Barrier setup work on Windows 11. Had to jump through quite a few hoops to get it working, among others, compiling it on Linux Mint for the client (that was the easiest part!), generating SSL certificates on both machines etc.

But it does work!! It's a wonderful tool.

<!-- gh-comment-id:1191692899 --> @stefan-reich commented on GitHub (Jul 21, 2022): > I run into this issue too, both are Mac (server Sierra / client Mojave), ver. 2.3.0 . It turns out that I have to manually SAVE the config file, after the client name has been added to "server configuration", then load the config file from the saved file, and reload the server. Exactly! This finally made my Barrier setup work on Windows 11. Had to jump through quite a few hoops to get it working, among others, compiling it on Linux Mint for the client (that was the easiest part!), generating SSL certificates on both machines etc. But it does work!! It's a wonderful tool.
Author
Owner

@wynemo commented on GitHub (Jan 30, 2023):

i have to add the client's name on server side manually.

<!-- gh-comment-id:1408195770 --> @wynemo commented on GitHub (Jan 30, 2023): i have to add the client's name on server side manually.
Author
Owner

@syphax commented on GitHub (Apr 1, 2024):

I had this problem; to fix it, I had to manually edit the server config:

  • Configure Server
  • Drag a new "screen"
  • Double-click on screen name; set to my client machine name
  • OK; OK; Reload
<!-- gh-comment-id:2028984787 --> @syphax commented on GitHub (Apr 1, 2024): I had this problem; to fix it, I had to manually edit the server config: - Configure Server - Drag a new "screen" - Double-click on screen name; set to my client machine name - OK; OK; Reload
Author
Owner

@ThucHuynhCSE commented on GitHub (Aug 2, 2024):

Did you add the client as a screen in the server configuration?

it works for me, thanks

<!-- gh-comment-id:2265074040 --> @ThucHuynhCSE commented on GitHub (Aug 2, 2024): > Did you add the client as a screen in the server configuration? it works for me, thanks
Author
Owner

@arkadesOrg commented on GitHub (Nov 17, 2024):

I run into this issue too, both are Mac (server Sierra / client Mojave), ver. 2.3.0 . It turns out that I have to manually SAVE the config file, after the client name has been added to "server configuration", then load the config file from the saved file, and reload the server.

you are brilliant! I spent 2 hours trying every possible configuration, even though I had it right from the beginning. Barrier just does not recognize the interactive server configuration directly.

<!-- gh-comment-id:2480872678 --> @arkadesOrg commented on GitHub (Nov 17, 2024): > I run into this issue too, both are Mac (server Sierra / client Mojave), ver. 2.3.0 . It turns out that I have to manually SAVE the config file, after the client name has been added to "server configuration", then load the config file from the saved file, and reload the server. you are brilliant! I spent 2 hours trying every possible configuration, even though I had it right from the beginning. Barrier just does not recognize the interactive server configuration directly.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#273
No description provided.