Ask Your Question
1

How to logout of KDE using the terminal?

asked 2013-11-10 12:59:09 -0600

nks gravatar image

updated 2014-01-27 16:07:27 -0600

FranciscoD_ gravatar image

How to logout from current user account using terminal.

Give me the command.

Thank you in advance!!!!!

edit retag flag offensive close merge delete

Comments

Which desktop environment are you using?

skytux gravatar imageskytux ( 2013-11-10 14:51:05 -0600 )edit

3 Answers

Sort by ยป oldest newest most voted
0

answered 2013-11-11 14:44:41 -0600

Marc lml gravatar image

You can also use pkill. This can also be done by another user (e.g. root).

pkill -KILL -u {username}

The username can be found by running who or w.

edit flag offensive delete link more

Comments

does not work for me

nks gravatar imagenks ( 2013-11-12 08:15:06 -0600 )edit
0

answered 2013-11-10 19:18:47 -0600

robatino gravatar image

updated 2013-11-10 19:21:27 -0600

gnome-session-quit

If you want a logout option in your User menu, run

gsettings set org.gnome.shell always-show-log-out true

as an ordinary user.

Edit: This is assuming you're running GNOME.

edit flag offensive delete link more

Comments

i'm using kde desktop

nks gravatar imagenks ( 2013-11-11 14:13:18 -0600 )edit
0

answered 2013-11-10 15:03:08 -0600

deusdara gravatar image

updated 2013-11-10 15:04:43 -0600

Hi

Those two commands work

$ gnome-session-save --kill

$ killall gnome-session

edit flag offensive delete link more

Comments

i'm using KDE desktop

nks gravatar imagenks ( 2013-11-11 06:36:53 -0600 )edit

Question Tools

Stats

Asked: 2013-11-10 12:59:09 -0600

Seen: 5,749 times

Last updated: Jan 27 '14