3 ms·
I'm not conflating anything — lockscreens on X11 were always just normal windows. If they crash, they unlock. I suggest you read JWZ's On Toolkits page: (archi
by kuschku 9y ago
I'm not conflating anything — lockscreens on X11 were always just normal windows. If they crash, they unlock.
I suggest you read JWZ's On Toolkits page: (archive link due to referer shenanigans): http://archive.is/BjMfp http://archive.is/BjMfp
- makomk 9y agoYes you are. The trick that KDE uses is that the screen locking is done by the KDE session manager, and because that is the main process in the X session if it crashes the session terminates so it's not possible to bypass the screen locker that way. None of that requires systemd; it makes use of something that's been true under X11 pretty much forever. The only thing that changed with logind is that instead of trying to restart the password prompt if it crashes, KDE now pops up a message asking you to drop to a console and use logind to disable the screen locker. (Annoyingly, it does this even on systems that don't use logind, in which case the instructions don't actually work.)
- kuschku 9y agoI was aware that KDE handled it that way, but as far as I know to handle it properly like this across X11, Wayland, and other sessions, logind is pretty much required. Gräßlin wrote a bit about that in his blog. But you might be right, I’ve not worked on either of these projects, so my knowledge is mostly from hearsay.