This is something I have asking myself for some time. Imagine the following:
- I press CTRL+ALT+F1 to switch to TTY1
- I login there and execute a command
- I switch back to xorg with CTRL+ALT+F7
- I forget that I am still logged in in TTY1
Is this a security issue? I guess so as in my test the normal KDE-Lockscreen (Super+L) doesn't log me out of the TTY.
So is there a solution to automatically log out after X seconds (of inactivity)? Or to maybe logout of all TTY whenever I lock my window manager (KDE in my case)?