mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #945] Server refused client with name "RONI-PC" #754
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#754
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Lonttu on GitHub (Nov 12, 2020).
Original GitHub issue: https://github.com/debauchee/barrier/issues/945
Operating systems:
Windows 10 20H2 build 19042.630 64-bit
Linux Peppermint 10 32-bit
Barrier version:
On windows machine: 2.3.3-release-3395cca9
On Linux machine: 2.3.3-release-bbd1accb
Steps to reproduce problem:
On the client (when on Windows):
[2020-11-12T19:23:25] INFO: starting client [2020-11-12T19:23:25] INFO: config file: C:/Users/Roni/AppData/Local/Temp/Barrier.WcEGaC [2020-11-12T19:23:25] INFO: log level: INFO [2020-11-12T19:23:25] INFO: service command updated [2020-11-12T19:23:25] INFO: starting new process as privileged user [2020-11-12T19:23:26] INFO: drag and drop enabled [2020-11-12T19:23:26] ERROR: failed to get desktop path, no drop target available, error=2 [2020-11-12T19:23:26] NOTE: started client [2020-11-12T19:23:26] NOTE: connecting to '192.168.1.10': 192.168.1.10:24800 [2020-11-12T19:23:26] INFO: OpenSSL 1.0.2l 25 May 2017 server status: active [2020-11-12T19:23:26] NOTE: server fingerprint: 63:D8:12:C7:04:1D:6D:79:6D:27:AC:62:C4:7F:22:C5:A5:5D:33:24 [2020-11-12T19:23:26] NOTE: trustedServersFilename: C:\Users\Roni\AppData\Local\Barrier/SSL/Fingerprints/TrustedServers.txt [2020-11-12T19:23:26] NOTE: Opened trustedServersFilename: C:\Users\Roni\AppData\Local\Barrier/SSL/Fingerprints/TrustedServers.txt [2020-11-12T19:23:26] NOTE: Fingerprint matches trusted fingerprint [2020-11-12T19:23:26] INFO: connected to secure socket [2020-11-12T19:23:26] INFO: server ssl certificate info: /CN=Barrier [2020-11-12T19:23:26] INFO: ECDHE-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH Au=RSA Enc=AESGCM(256) Mac=AEAD [2020-11-12T19:23:26] ERROR: server refused client with name "RONI-PC" [2020-11-12T19:23:26] WARNING: failed to connect to server: server refused client with our nameOn the client (when on Linux):
[2020-11-12T19:29:51] INFO: starting client [2020-11-12T19:29:51] INFO: config file: /tmp/Barrier.Sm2437 [2020-11-12T19:29:51] INFO: log level: INFO [2020-11-12T19:29:52] NOTE: started client [2020-11-12T19:29:52] NOTE: connecting to '192.168.1.103': 192.168.1.103:24800 [2020-11-12T19:29:52] INFO: OpenSSL 1.1.1 11 Sep 2018 [2020-11-12T19:29:52] NOTE: server fingerprint: FD:3C:53:32:34:0A:F1:8A:06:BB:33:D0:ED:26:38:B3:79:72:98:21 [2020-11-12T19:29:52] NOTE: trustedServersFilename: /home/roni/snap/barrier/383/.local/share/barrier/SSL/Fingerprints/TrustedServers.txt [2020-11-12T19:29:52] NOTE: Opened trustedServersFilename: /home/roni/snap/barrier/383/.local/share/barrier/SSL/Fingerprints/TrustedServers.txt [2020-11-12T19:29:52] NOTE: Fingerprint matches trusted fingerprint [2020-11-12T19:29:52] INFO: connected to secure socket [2020-11-12T19:29:52] INFO: server ssl certificate info: /CN=Barrier [2020-11-12T19:29:52] INFO: AES256-GCM-SHA384 TLSv1.2 Kx=RSA Au=RSA Enc=AESGCM(256) Mac=AEAD [2020-11-12T19:29:52] ERROR: server refused client with name "roni-laptop" [2020-11-12T19:29:52] WARNING: failed to connect to server: server refused client with our nameOn the server (when on Windows):
[2020-11-12T19:29:35] INFO: starting server [2020-11-12T19:29:35] INFO: config file: C:/Users/Roni/AppData/Local/Temp/Barrier.nBBuRS [2020-11-12T19:29:35] INFO: log level: INFO [2020-11-12T19:29:35] INFO: service command updated [2020-11-12T19:29:35] INFO: starting new process as privileged user [2020-11-12T19:29:35] INFO: drag and drop enabled [2020-11-12T19:29:35] ERROR: failed to get desktop path, no drop target available, error=2 started server (IPv4/IPv6), waiting for clients server status: active [2020-11-12T19:29:52] INFO: OpenSSL 1.0.2l 25 May 2017 [2020-11-12T19:29:52] INFO: accepted secure socket [2020-11-12T19:29:52] INFO: AES256-GCM-SHA384 TLSv1.2 Kx=RSA Au=RSA Enc=AESGCM(256) Mac=AEAD [2020-11-12T19:29:52] NOTE: accepted client connection [2020-11-12T19:29:52] WARNING: unrecognised client name "roni-laptop", check server config [2020-11-12T19:29:52] NOTE: disconnecting client "roni-laptop" [2020-11-12T19:29:52] NOTE: client "roni-laptop" has disconnectedOn the server (when on Linux):
[2020-11-12T19:23:21] INFO: starting server [2020-11-12T19:23:21] INFO: config file: /tmp/Barrier.nt2437 [2020-11-12T19:23:21] INFO: log level: INFO started server (IPv4/IPv6), waiting for clients [2020-11-12T19:23:26] INFO: OpenSSL 1.1.1 11 Sep 2018 [2020-11-12T19:23:26] INFO: accepted secure socket [2020-11-12T19:23:26] INFO: ECDHE-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH Au=RSA Enc=AESGCM(256) Mac=AEAD [2020-11-12T19:23:26] NOTE: accepted client connection [2020-11-12T19:23:26] NOTE: disconnecting client "RONI-PC" [2020-11-12T19:23:26] NOTE: client "RONI-PC" has disconnected [2020-11-12T19:23:26] WARNING: unrecognised client name "RONI-PC", check server configOther info
@Ds886 commented on GitHub (Nov 12, 2020):
Make sure the alias is properly fitting what the client tell
for example on the server as linux it says
WARNING: unrecognised client name "roni-laptop", check server config [2020-11-12T19:29:52] NOTE: disconnecting client "roni-laptop"
so adding an alias on the server to the client "roni-laptop" should remove this limitation
Check connectivty.
you can easily check it on windows using the powershell command
tnc -port
or on Linux using:
telnet , (not sure about the syntax)
check ports are forwarded properly.
On windows Windows Firewall will block by default most ports from outside to inside.
@Lonttu commented on GitHub (Nov 12, 2020):
Well, this is embarrassing and awkward and everything horrible, because i just realized it was not a bug. Turns out there was a menu i wasn't aware of existing, terribly sorry for wasting your time.
@alexyao2015 commented on GitHub (Nov 20, 2020):
Should mention that after adding the screen name, you must reload Barrier if it has already been started.