| Summary: | kscreenlocker crash recovery advice doesn't make sense when there are no VTs | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | bluescreenavenger |
| Component: | Screen locking | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | minor | CC: | nate |
| Priority: | VLO | ||
| Version First Reported In: | 6.2.4 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| See Also: | https://bugs.kde.org/show_bug.cgi?id=473247 | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
bluescreenavenger
2023-02-21 02:21:28 UTC
I opened https://github.com/systemd/systemd/issues/26313 for systemd/logind My thinking is that, logind will have to listen on the keyboard for a key binding, like a long press and hold of CTRL+SHIFT+ESC or something and when that happens, emit a dbus signal that the display manager will start the greeter, or switch to the greeter session if it is running on the seat, and then the user will be able to log in with a separate session. Maybe a minimalistic one provided by kmscon, or combining cage and foot. https://github.com/systemd/systemd/pull/29542 is out of draft and waiting further review, but right now if you hit Ctrl+Alt+Shift+Esc with that applied org.freedesktop.login1.Manager emits the SecureAttentionKey signal, with the seat object that it was originated from, to where a display manager can react to it, and show its greeter If this gets merged, it might allow users to log in and start a second session to run the command (although it will have to be a minimal one like Weston, or one that pairs cage/foot) It might be better than guessing the VT https://github.com/systemd/systemd/pull/29542 is merged, which might be relevant to this This could allow new instructions to where they are to press Ctrl+Alt+Shift+Esc and then log in with a new session (would have to be like Weston or something because you can't have two systemd handled sessions) and then run the command with that ...that is once the patch is in in sddm Now SDDM supports responding when systemd emits SecureAttentionKey after the user presses Ctrl+Alt+Shift+Esc GDM support is pending, as is LightDM (patches are yet to be reviewed) BUT this might be better advice to the user, press Ctrl+Alt+Shift+Esc, log in selecting a different session type, then run the loginctl command? Please see https://bugs.kde.org/show_bug.cgi?id=473247#c7 I accidentally posted in the wrong tab |