fairyglade / ly

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

loginctl terminate-session $XDG_SESSION_ID does not return me back to ly #335

Open agoodfellow123 opened 2 years ago

agoodfellow123 commented 2 years ago

Hello there, I have an arch vm that uses ly as a desktop manager. When I enter the command loginctl terminate-session $XDG_SESSION_ID it terminates the session however ly doesn't show up instead I see this screen. I can't do anything in that screen except for changing to another tty, which when I launch ly there it gives me an "authentication error" I have another PC with another desktop manager and the same problem does not happen there.

markstos commented 2 years ago

This may be the same XDG login/logout session handling bug that was also reported or discussed in these issues:

145 #165 #231 #272 #293

If so, it was patched over a year ago in the ly-reloaded fork which was created initially just to make sure this bug got patched:

https://github.com/SartoxSoftware/ly-reloaded

For Arch, that fork has been packaged as ly-reloaded-git.

agoodfellow123 commented 2 years ago

I tested with ly-reloaded, sadly it gave the same result.

mozlima commented 9 months ago

Hi, Any news?

Running don't work

loginctl lock-session $XDG_SESSION_ID
loginctl terminate-user

Its work on Lightdm and Greetd