Registered Member
|
Is there a command line instruction to logout from a session from the command line. I remember there was some on KDE4 <something>-logout or restart.
|
Registered Member
|
Earlier: Shutdown kde correctly from command-line - viewtopic.php?f=66&t=88022
KWorkSpace Namespace Reference: https://api.kde.org/4.x-api/kde-workspa ... Space.html Still working with the KF5 => Confirm logout:
Logout without confirmation:
|
Registered Member
|
this is giving me this error
going to try whats on this http://unix.stackexchange.com/questions ... l-via-dbus |
Registered Member
|
loginctl terminate-user "your username here"
|
Registered Member
|
Beware that this will usually also kill all programs associated with that session, including those running in the background, like `tmux` or `screen`. |
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]