-
Notifications
You must be signed in to change notification settings - Fork 22
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
Fix systemd support #153
base: master
Are you sure you want to change the base?
Fix systemd support #153
Conversation
The previous developer left in a debug remnant breaking systemd support.
Modern GNOME-like DEs leave the user with a very limited session. Search for the active graphical session and use that.
Hi! Arch Linux packaged these commits with its newest light-locker package (1.9.0-3), and when I unlock my machine, I get a black screen. In order to recover, I have to switch to another VT, kill light-locker, then switch back to VT7. I am running XFCE (4.14), LightDM (1.30), and systemd (247.1). I downgraded the package to the previous version (1.9.0-2), and it does not exhibit this behavior. I ran light-locker with the I am not the only person having this issue, see the Arch Linux bug tracker here. |
Hello. As attackzero said, these commits seem to cause problems with unlocking the session on Arch. Setup:
I get the same log output about dbus. Please let me know if there is anything I can do to help narrow down the problem or test fixes :) |
Have this problem too. |
So apparently this broke with systemd changing, I will see if I can reproduce this and fix this. |
I have fixed the problem for XFCE and Pantheon. @CodingCellist can you test this change on your i3 setup? |
Hi @RA-Kooi , thanks for fixing this! :) I get some error output which I have included in the log-file below, although full disclosure: I have very little GNOME stuff installed, and I don't use a compositor either (in case those details are relevant). |
Looks like it fails to grab the screen, which I also saw happen in my VM. Personally on my main install I use i3lock-multimonitor. So if you use this because of tty locking, you can use physlock in conjunction with i3lock(-multimonitor) as an alternative:
|
Thanks for your work on this! :) |
The previous developer left in a debug remnant breaking systemd support.
Edit: I initially thought this was all there was to it, but it turns out more was broken.
I have made the necessary changes to support modern GNOMEisms, but I haven't extensively tested this.
Works on my VM running Arch Linux with Pantheon DE and LightDM.
Fixes: #141, #145, and possibly #151