mortie / swaylock-effects

Swaylock, with fancy effects
MIT License
698 stars 44 forks source link

Doesn't accept password #66

Open haihala opened 2 years ago

haihala commented 2 years ago

I rebuilt swaylock-effects from source on fedora 34 to get around the inverse screen effect and now it doesn't accept my password. I've tried enough times to be certain of this. It sometimes says cleared in situations where it isn't supposed to have input.

haihala commented 2 years ago
 $ swaylock --version
swaylock version v1.6-3-11-g5cb9579 (Aug  8 2021, branch 'master')

sway config:

set $lock swaylock \
    --screenshots \
    --clock \
    --datestr "%A, %d. %m. %Y." \
    --indicator \
    --indicator-radius 150 \
    --indicator-thickness 10 \
    --effect-blur 7x7 \
    --effect-vignette 0.5:0.5 \
    --ring-color $cl_unfocused \
    --key-hl-color $cl_exfocused \
    --line-color 00000000 \
    --inside-color 00000088 \
    --separator-color 00000088 \
    --grace 10 \
    --fade-in 0.2
.
.
.
bindsym $mod+l exec $lock
.
.
.
exec swayidle -w timeout 300 '$lock'

Both swayidle and manual activation lead to the same result, although grace lets me get in.

Liriel commented 1 year ago

try running w/ --debug and --trace enabled - im my case I got:

image

turns out the file /etc/pam.d/swaylock did not exist on my machine (since I did not do a proper installation) - to fix this copy the file swaylock-effects/pam/swaylock to /etc/pam.d/