mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #193] Impossible to connect linux client to windows server #158
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#158
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 @YoannBrillet on GitHub (Dec 7, 2018).
Original GitHub issue: https://github.com/debauchee/barrier/issues/193
Operating Systems
Server: Windows 10 1803
Client: Kali Linux 2018.4
Barrier Version
2.1.0 (client and server)
Steps to reproduce bug
Other info
Firewall rules open on the windows
and fun fact but if the server is on the linux and the client on the windows it works (but not what I want)
@dayne commented on GitHub (Dec 8, 2018):
I'm doing this every day.
I've got two setups with same version of barrier:
Double check server is running, the port is open, and the client is able to connect to the port.
On the linux box verify you can connect to port 24800 on the windows box using the
nctool:nc -vz 192.168.56.1 24800Correct output would be:
Connection to 192.168.56.1 24800 port [tcp/*] succeeded!If that doesn't work then you need to keep debugging the server/port/network.
@AngelJA commented on GitHub (Dec 8, 2018):
Did you test if it works if you disable the Windows firewall completely? I just set this up and had issues, but I found that the rule that Windows adds automatically is for barrier.exe instead of barriers.exe. Changing that allowed me to connect with the firewall on.
@YoannBrillet commented on GitHub (Dec 8, 2018):
I just test it, modified firewall rules and the log say "process exited with error code: 9"
btw the linux server now denied a connection from the windows client to.
I'll see to uninstall and re install both client and server tomorrow. (maybe a sneaky update problem)
@dayne commented on GitHub (Dec 9, 2018):
You might go through the debugging steps I just laid out in another similar issue open right now.
See this message for verifying Windows is seeing the server running on that port.
https://github.com/debauchee/barrier/issues/190#issuecomment-445582840
@dario-pedro commented on GitHub (Dec 11, 2018):
I'm having the same problem. When I run my Linux machine as server, it detect my windows machine, but the mouse and keyboard is not being shared.
Any ideas?
@silvanocerza commented on GitHub (Dec 12, 2018):
I had the same issue, I solved it by opening TCP port 24800 on Windows Firewall.
Open Windows Defender Firewall with Advanced Security, you can search from Start, then Inbound Rules > New Rule, then follow the steps.
@AdrianKoshka commented on GitHub (Dec 12, 2018):
Sorry for the super late response...I moved and only set my computer back up recently. We have a wiki page that details how to open up the port (at least on windows 10).
https://github.com/debauchee/barrier/wiki/Adding-Barrier-to-the-Windows-Firewall
@abhagsain commented on GitHub (Mar 12, 2021):
I had the same issues. After an hour of searching Internet, I got it working.
So make sure you run
ipconfigon the server, in my case, it's Windows 10and see the correct IP Address Under Wireless LAN adapter Wi-Fi IPV4 address.
In my case, the name is mac (Windows 10 Screenshot)
Mac OS Screenshot
I had problems if my Wifi is set to password-protected (which is just my mobile hotspot). So to get around that I made it public and limited the connections to it.
That's it. I hope it helps somebody :)
@AbdulrahmanHashem commented on GitHub (Jun 7, 2024):
it's not impossible i solved it by installing bonjur you'll find it in the store under the name "avahi"
that fixed the problem for me.
@mahian commented on GitHub (Jan 5, 2025):
I'm trying to connect barrier but the give the disconnected error in the barrier log after some time I uncheck the ssl but still not connecting 1