Skip to content
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

light-locker does not function with OpenRC + elogind #103

Open
PharmaceuticalCobweb opened this issue Jan 5, 2018 · 1 comment · May be fixed by #109 or #117
Open

light-locker does not function with OpenRC + elogind #103

PharmaceuticalCobweb opened this issue Jan 5, 2018 · 1 comment · May be fixed by #109 or #117

Comments

@PharmaceuticalCobweb
Copy link

Tested with light-locker 1.8.0-1 on Parabola (similar to Arch Linux).

On OpenRC systems with elogind (logind extracted for non-systemd systems) "light-locker-command -l" results in:

** Message: Received error message from the locker: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ScreenSaver was not provided by any .service files

Which suggests that elogind/openrc is not supported. Yet ConsoleKit/UPower and logind/systemd are supported according to the readme.

Might it be possible to support elogind/openrc? ConsoleKit has been deprecated for quite awhile now and many OpenRC users have had to switch to elogind since so many applications hard depend on systemd.

@LiSongMWO
Copy link

I had the same issue. Turns out I started the light-locker service before my session dbus was launched.

You can find out if your light-locker daemon is reachable over dbus with

$ light-locker-command -q

If it is not running or not reachable over dbus you'll get:

** Message: Locker is not running!

If everything is fine you'll get something else like:

The screensaver is inactive

@dg98 dg98 linked a pull request Apr 22, 2018 that will close this issue
@roogus roogus linked a pull request Oct 7, 2018 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants