mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #1963] Barrier server: Failed to get local IP address. Please manually type in server address on your clients. #1435
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#1435
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 @samodadela on GitHub (Aug 8, 2023).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1963
What happened?
The message above appears when barrier (server) is started right after boot.
If barrier is quit and started again, the message does not appear. This happens if barrier is started from XFCEs "Session and Startup" (passwordless login)
Log:
After startup:

It seems that barrier works after confirming the dialog, but it would be better is this error would be just logged instead of opening the dialog.
A workaround is to create a script that sleeps for a few seconds and then call /usr/bin/barrier.
Version
v2.4.0
Git commit hash (if applicable)
No response
If applicable, where did you install Barrier from?
From a Manjaro package:
What OSes are you seeing the problem on? (Check all that apply)
Linux
What OS versions are you using?
Linux cxxx 6.1.41-1-MANJARO #1 SMP PREEMPT_DYNAMIC Tue Jul 25 09:17:30 UTC 2023 x86_64 GNU/Linux
Relevant log output
No response
Any other information
No response
@steelman commented on GitHub (Jul 23, 2024):
One of possibilities is that your IP address is not on the list of preferred and is not returned by ZeroconfService::getLocalIPAddresses().
EDIT#1: As a result Berrier does not register the server in with DNS-SD.