Linked Questions
21 questions linked to/from How can you log out via the terminal?
8
votes
4
answers
44k
views
how to logout from terminal in 13.10? [duplicate]
I have seen some previous post about logout from terminal but those were for old versions. I didnt find the way for logout in Ubuntu 13.10 from terminal.
How can I logout from terminal in Ubuntu 13....
1
vote
1
answer
19k
views
How to log out from a session using the command line? [duplicate]
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:...
1
vote
0
answers
81
views
Logout of User via Command Line? [duplicate]
How can I go back to the login screen of Ubuntu via command line?
I often use reboot -n or shutdown -t now while I have terminal open but sometimes I just want to logout without rebooting.
252
votes
5
answers
564k
views
How to create a permanent "alias"? [duplicate]
If you create an alias for example:
alias cls="clear"
It exists untill you kill terminall session. When you start a new terminal window the alias doesn't exist any more. How to create "permanent" ...
202
votes
3
answers
56k
views
Why is a virtual terminal "virtual", and what/why/where is the "real" terminal?
I hope the question is self-explanatory.
My understanding is that gnome-terminal and konsole are virtual terminals, and they are basically serving the same purpose, i.e. a command line environment ...
39
votes
5
answers
134k
views
How to reset monitor settings to default through terminal?
I have a tricky problem regarding multiple monitors on KDE (Kubuntu). I have a laptop which, at home, is connected to two monitors - VGA and HDMI. That works only when the built-in laptop display is ...
12
votes
6
answers
35k
views
How to log out with a command in a gnome-less environment?
I installed various window managers (Awesome, dwm, etc.) from which I am not able to log out back to the login screen (gnome-session) in order to switch to another window manager. I need to reboot to ...
12
votes
2
answers
4k
views
Reboot without sudoer privileges?
I've been trying to get my ubuntu restart without having to edit the sudoers.
This has been possible before (in lucid I think) using a dbus command:
dbus-send –system –print-reply –dest=org....
4
votes
3
answers
3k
views
How can I change user from command line
I'm in Lubuntu with Openbox as DE. When I press the power button, a window pops up and displays multiple options: logout, hibernate, sleep, change user etc.
However, sometimes nothing happens when I ...
1
vote
2
answers
9k
views
Ubuntu 13.10, logout button on top taskbar missing
Upgraded ubuntu 13.04 to 13.10, the "settings" button with shutdown/settings/login/logout is missing from the taskbar. It was the button that used to be next to the time/calender button, left right ...
1
vote
2
answers
2k
views
How to run logout with cron?
I'm creating something to allow me to set limits for time spent per user session: I've created a cron job:
*/120 * * * 1,2,3,4,5 /path/to/command
*/180 * * * 0,6 /path/to/command
and I want to run ...
6
votes
3
answers
2k
views
How can I use code or a script to lock my screen programmatically in Lubuntu?
I want to write code or a script to lock the PC when my C++ program receives a specific command from Ethernet.
Is there any way to show the Login screen from the command line? I want to lock the ...
1
vote
1
answer
1k
views
Simulate power button using command?
When I hit the power button on my laptop (Ubuntu 14.04.1 without any modifications), I receive a pop window saying
Goodbye, what would you like to do?
Lock Suspend Restart Shutdown
How can I get ...
0
votes
1
answer
1k
views
Ubuntu UI unresponsive but can ssh in, how do I log out the remote over ssh?
I want to log out the user session of a remote Ubuntu 12.04 x64 (laptop) by ssh'ing and running a command.
I know I can reboot with a simple sudo reboot but don't want to if I can help it, I'd ...
2
votes
2
answers
762
views
How can I undo `gnome-shell --replace`?
I typed this in tty1 (ctrl+alt+F1):
gnome-shell --display :0 --replace
and then the theme of desktop changed. I want to go back to the previous one but cant because this theme is broken and doesn’t ...