How to log out from a session using the command line?

13,489

You can logout by typing gnome-session-quit.

There are other options as explained at this link: How can you logout from the terminal.

Share:
13,489

Related videos on Youtube

sharkant
Author by

sharkant

i like White chocolate with almonds from ALDI, vangelis, hong kong Pop Music from the 80s and early 90s, star trek the classic series, blue led lights at night. I dislike social pressure, being not as intelligent and good looking as i wished to be, the headache and Tinnitus i suffer from 24/7. I am a White male from Germany, suffering from agoraphobia, bound to a Limit of locomotion within a radius of about 1 km , but it depends on specific environmental Features. i am a single, i have a few friends, but i am alone most of the time.

Updated on September 18, 2022

Comments

  • sharkant
    sharkant over 1 year

    In order to log out from a session in xfce4, I usually click onto the icon in the upper left corner, click onto a further icon captured as log out, thereupon a window opens, where I can choose between:

    • log-out
    • restart
    • shutdown
    • suspend

    I click onto log-out and I am at the log-in shell.

    Is there a way to get into this log-in shell without the clicking onto icons and buttons but by typing some commands inside the command line?