Since I switched to Wayland on Debian11/KDE starting the computer from standby in around 90% of cases shows a black screen and one needs to use ctrl+alt+f{id} and run loginctl unlock-session {id2}
to be able to switch back to the running session by pressing ctrl+alt+F1.
The session is shown with the who
command. I think configuring $TMOUT
(which isn't set by default) as recommended elsewhere would also log out the current session, not just the inactive terminal session/s.
How can I log out (automatically or not) all inactive terminal sessions (exclusively) which I started to be able to resume from standby due to the Wayland-KDE/Debian11 bugs?