New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to run Linux barrier client during startup using systemd #297
Comments
Thanks @noisyshape , I'll read the references you mentioned. I believe this is a Linux problem rather than Barrier. I'm closing it now. |
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 |
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 |
@RPGillespie6 Not sure if this is the same problem as you, but I got round this just by starting |
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. |
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.service
Other 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.service
Logs:
The text was updated successfully, but these errors were encountered: