debauchee / barrier

Open-source KVM software
Other
27.24k stars 1.5k forks source link

unrecognised client name "xxx", check server config #339

Open asjones987 opened 5 years ago

asjones987 commented 5 years ago

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

noisyshape commented 5 years ago

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

asjones987 commented 5 years ago

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).

chrissound commented 5 years ago

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.

Deity commented 5 years ago

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.

AdrianKoshka commented 5 years ago

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

Deity commented 5 years ago

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

mirh commented 5 years ago

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.

OFark commented 4 years ago

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.

Zackhardtoname commented 4 years ago

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

FreddieDev commented 4 years ago

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

erm3nda commented 4 years ago

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

AdarshKvT commented 3 years ago

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

YassineBaghdadi commented 2 years ago

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

AntonyParks commented 2 years ago

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.

stefan-reich commented 2 years ago

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.

wynemo commented 1 year ago

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

syphax commented 5 months ago

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

ThucHuynhCSE commented 1 month ago

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

it works for me, thanks