loginctl


```typeloginctl list-sessionsloginctl terminate-session <id>```


> [How to properly end a KDE session from shell without root privileges](https://superuser.com/questions/395820/how-to-properly-end-a-kde-session-from-shell-without-root-privileges)




