mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #1923] barrierc with lightdm and XFCE on Debian HOWTO #1403
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#1403
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 @JiffB on GitHub (Apr 1, 2023).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1923
What happened?
it took me a while to figure out how to do this correctly, so this is just a return :)
Version
v2.4.0
Git commit hash (if applicable)
No response
If applicable, where did you install Barrier from?
Debian bullseye backport package.
What OSes are you seeing the problem on? (Check all that apply)
Linux
What OS versions are you using?
debian bullseye
Relevant log output
No response
Any other information
OS : Debian bullseye + backports
Barrier : Version 2.4.0 from backports
Hi,
To avoid using barrierc in root and to be able to lock your screen, it takes a little knowledge and one or two tricks.
First, more than one instance of barrierc can co-exist in memory, however, it is always the last launch that have the hand, second, the one launched at lightdm start doesn't die when entering a user session ON THE FIRST LOGIN, however, it hopefully dies when unlocking the screen.
This is the script (/usr/share/dispsetup.sh, already supplied empty, as I found it just after install) that does the trick :
IMPORTANT (expecially if the client is using a SSD) : barriec versions before 2.4.0 used to spit a frigging bunch of lines into either /var/log/message and /var/log/syslog, 2.4.0 fortunately ended that. So, for such a talkative version, there's another trick, add :
--log /var/log/myfoot(which of course shouldn't exist), barriec won't create it and wont find it, so there will be no inopportune logs.Into /etc/lightdm/lightdm.conf, in the [Seat:*] section, uncomment the
greeter-setup-script=/usr/share/dispsetup.shline or create it.For each user (so, if it is a fresh install, you'd better add a path and file into /etc/skel), create an autostart file that'll launch barrierc as follow :
Oops, I forgot these 2 important steps :
cp -r /home/<username>/.local/share/barrier ~/.local/share/This way, the server certificate is already accepted by a root instance of barrierc.That's all folks.
For those interested in the proceedings :
@G2G2G2G commented on GitHub (Apr 9, 2023):
This project is dead, use https://github.com/input-leap/input-leap a fork of it which is active