mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #297] Unable to run Linux barrier client during startup using systemd #238
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#238
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 @vnktsh on GitHub (May 1, 2019).
Original GitHub issue: https://github.com/debauchee/barrier/issues/297
Operating Systems
Server: Windows 10 Version 1709 (OS Build 16299.1087)
Client: Ubuntu 18.04 (GNOME 3 desktop)
Barrier Version
Server: 2.2.0
Client: 2.2.0
Steps to reproduce bug
sudo systemctl start barrier.serviceOther info
When trying to setup systemd service.
Not, if you want barrier to startup before logging in the user.
No
Put anything else you can think of here.
My service script under
/etc/systemd/system/barrier.serviceLogs:
@noisyshape commented on GitHub (May 1, 2019):
If I had to guess I would say that it's running too early and Barrier doesn't correct for it. Using your display manager to start and stop Barrier might work. Or instead of running Barrier as root you could log in automatically. Pick your poison.
See also #179 and #185
@vnktsh commented on GitHub (May 3, 2019):
Thanks @noisyshape , I'll read the references you mentioned. I believe this is a Linux problem rather than Barrier. I'm closing it now.
@RPGillespie6 commented on GitHub (Jan 11, 2020):
This is happening to me too, except I'm trying to launch barrier over ssh. This is what I get:
I'm using Xubuntu 18.04.3
@RPGillespie6 commented on GitHub (Jan 11, 2020):
Note that it works if I launch barrier natively (i.e. not over ssh), but that defeats the whole purpose of barrier since I need to plug in a second keyboard and mouse to do so
@reynoldscem commented on GitHub (Oct 27, 2020):
@RPGillespie6 Not sure if this is the same problem as you, but I got round this just by starting
barriersover ssh using--display :1.@Maurits2014 commented on GitHub (Mar 16, 2021):
After trying a number of things, what ended up working for me were adding the "--display :0" option and setting XAUTHORITY="/home/maurits/.Xauthority".
My setup has two devices that need to be connected to a Windows host, and for that matter I created systemd services that are run on boot right when Openbox starts, and these two changes finally made that work.