hyprwm / hyprlock

Hyprland's GPU-accelerated screen locking utility
BSD 3-Clause "New" or "Revised" License
715 stars 53 forks source link

Does not work with Lemurs display manager #93

Open logno-dev opened 6 months ago

logno-dev commented 6 months ago

Throwing this in here in case anyone else runs into the issue, or if there is similar behavior with other display managers. It was driving me crazy trying to figure out what I was doing wrong with the setup.

Behavior

Run hyprlock, whether calling it from the command line or from an idle manager, lock screen appears. Enter password, after small delay (presumably authenticating the password) then the screen goes completely red and does not accept any further inputs.

This only happens in sessions initiated by Lemurs, not sessions launched directly from tty.

I tried logging the output, but it never showed anything.

Fix

Stopped using Lemurs. It was kind of a cool little TUI display manager, but I can live without it.

120ace commented 5 months ago

I am experiencing almost the same problem with hyprlock and Lemurs: instead of a red screen, I am just stuck in an infinite loop of invalid logins: pam_authenticate failed. When I run hyprlock from a terminal emulator and don't set a lock image/color, I can see the terminal getting spammed with "Error in formatstring, username null. Errno:". I was going crazy trying to figure out what I did wrong with the config. Turns out I wasn't wrong, launched hyprland from a tty and did not have the problem anymore.

sungyoonc commented 5 months ago

Maybe related to this issue? https://github.com/coastalwhite/lemurs/issues/182