mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #572] Can't connect with linux pc as server but macbook as server works perfectly. #449
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#449
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 @nixoye on GitHub (Feb 23, 2020).
Original GitHub issue: https://github.com/debauchee/barrier/issues/572
Operating Systems
Server: Elementary OS 5.1.2
Client: Mac OS Catalina
Barrier Version
on elementary os im using the stable snap 2.32.2-snapshot-9080ce45 november 10,2019
on mac os catalina im using version 2.3.2-Release-210c2b70 october 3, 2019
Steps to reproduce bug
READ ME, DELETE ME: Try to be succinct. If your bug is intermittent, try and describe what you're doing when it happens most.
I have configured the server section by dragging in a screen and naming it the correct screen name.
If i use my elementary os pc as the server i get this in its logs
`[2020-02-23T09:58:32] INFO: stopping barrier desktop process
[2020-02-23T09:58:32] NOTE: stopped server
[2020-02-23T09:58:32] INFO: process exited normally
[2020-02-23T09:58:32] INFO: starting server
[2020-02-23T09:58:32] INFO: config file: /tmp/Barrier.ZK4209
[2020-02-23T09:58:32] INFO: log level: INFO
[2020-02-23T09:58:32] WARNING: failed to register hotkey ScrollLock (id=ef14 mask=0000)
[2020-02-23T09:58:32] NOTE: started server (IPv4/IPv6), waiting for clients`
and this in my macbooks log when trying to connect to the server
[2020-02-23T09:59:42] NOTE: connecting to '10.20.41.76': 10.20.41.76:24801 [2020-02-23T09:59:42] INFO: OpenSSL 1.0.2t 10 Sep 2019 [2020-02-23T09:59:57] WARNING: failed to connect to server: Timed outIf i use the macbook as a server everything works fine
@kernoeb commented on GitHub (Feb 24, 2020):
Try this on your Linux (this worked for me) :
sudo iptables -I INPUT -p tcp --dport 24800 --syn -j ACCEPTFor me the issue was between two Linux computers, only one accepted to be the server
Change the port if yours is different (in Barrier settings)
@nixoye commented on GitHub (Feb 24, 2020):
@kernoeb im gettin failed to connect to server: connection refused now
@the-wes commented on GitHub (Mar 1, 2020):
Is your server log saying anything different now? You should be getting something more in it if the client is returning connection refused
@nixoye commented on GitHub (Mar 2, 2020):
@the-wes I tried again today and suddenly its working. I haven't changed anything so I'm not sure how that is.
@the-wes commented on GitHub (Mar 3, 2020):
Eddies in the space-time continuum
@RCheesley commented on GitHub (Apr 12, 2020):
Just wanted to add I had this problem with Linux machine as server. After running the iptables command I restarted the app and all is well :) Thanks!