How can I log myself out from a console ?
On Sat, 31 May 2014 01:46:02 +0000, andy77586 wrote:
> How can I log myself out from a console ?
exit or ctrl+d
–
Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C
I meant log out as a user that goes to the login screen.
I want to do it by making a script.
On Sat 31 May 2014 02:26:01 AM CDT, andy77586 wrote:
I meant log out as a user that goes to the login screen.
I want to do it by making a script.
Hi
For GNOME shell it’s;
gnome-session-quit --logout --force --no-prompt
–
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE 13.1 (Bottle) (x86_64) GNOME 3.10.1 Kernel 3.11.10-11-desktop
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!
It does not working under KDE.
This worked.
qdbus org.kde.ksmserver /KSMServer logout 0 0 0