You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run that as root everything is fine and swaylock just works as normal. However when udev rules trigger that script sure swaylock opens but I can't get passed the lock screen the correct password does not work. Now if you had -f along with -c you will get another issue where after you type and press enter swaylock enters a red screen mode.
I am using swaylock 1.7.2 and I am on gentoo with openrc but I think this is reproducible in other distributions as well.
I am not sure what the root of the problem is but this would be a great if it does work.
The text was updated successfully, but these errors were encountered:
Now if you had -f along with -c you will get another issue where after you type and press enter swaylock enters a red screen mode.
I don't have any guesses as to why exactly the correct password is not working, but the red screen mode is something that Sway does when the lockscreen crashes, exits without unlocking, or makes a Wayland protocol error. Running with the --debug flag and looking at standard output/error, or checking if there was a core dump, will probably tell you which happened.
When using a udev rule that triggers as I remove my yubikey I made it run a script that will trigger swaylock.
Here is that script:
When I run that as root everything is fine and swaylock just works as normal. However when udev rules trigger that script sure swaylock opens but I can't get passed the lock screen the correct password does not work. Now if you had -f along with -c you will get another issue where after you type and press enter swaylock enters a red screen mode.
I am using swaylock 1.7.2 and I am on gentoo with openrc but I think this is reproducible in other distributions as well.
I am not sure what the root of the problem is but this would be a great if it does work.
The text was updated successfully, but these errors were encountered: