5 ms·
I find both your comments confusing. In your first comment you said that screensavers were just normal windows and would crash back to an unlocked screen - tha
by slgeorge 9y ago
I find both your comments confusing.
In your first comment you said that screensavers were just normal windows and would crash back to an unlocked screen - that never happened. Here you're conflating KDE (started ~1997) needing logind (started in what 2010?) which it didn't. Even your comment about a 'session' makes no sense since at the X runlevel X itself is the 'session'.
In my opinion a lot of the problem has been a lack of clarity of what the actual user benefit will be, and the crazy borg-like scope expanion. I'm going to avoid commenting on the implementation of logind and brethren.
- kuschku 9y agoI'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.