fairyglade / ly

display manager with console UI
Do What The F*ck You Want To Public License
5.28k stars 308 forks source link

After switching from lightdm to ly my system keeps asking password before suspend / reboot /shutdown #472

Open bitterhalt opened 1 year ago

bitterhalt commented 1 year ago

As topic says somehow my system starts asking password every time before suspend / reboot /shutdown. If I switch back to lightdm my system acts normally and I don't have to type pasword If use my power menu or terminal.

Why is this happening?

Maybe because LY uses TTY2 by default and LightDM TTY7? I tried to make LY to use TTY7 but then I get black screen on reboot. I have also disabled and uninstalled LightDM before LY without any success..

iiPythonx commented 1 year ago

Also happening on a fresh build on Fedora 37, would be nice if this could be looked into.

matdave commented 1 year ago

I am not having issues on Fedora FYI, just chiming in that it sounds like it may be related to your pam session auth https://github.com/fairyglade/ly/pull/496

iiPythonx commented 1 year ago

As of now, I'm no longer having the issue after reinstalling fedora. @matdave #496 does seem to fix the original problem, thanks for bringing it up.

AnErrupTion commented 1 month ago

@bitterhalt @iiPythonx Can you check if your issues are fixed with the latest code on master? Also, if you're running Fedora, make sure to add a SELinux policy for Ly, as it doesn't currently ship with one (but I obviously plan on doing so). I believe #494 has you covered for now.

iiPythonx commented 1 month ago

I switched from Fedora to Arch quite a while ago, and haven't had the issue since then. Not sure about bitterhalt though.