The tag has no wiki summary.

learn more… | top users | synonyms

9
votes
2answers
377 views

How can I tell a running process to disregard SIGHUP? [duplicate]

Possible Duplicate: How can I close a terminal without killing the command running in it? I have a very low-end "server" running Debian Squeeze that I occasionally ssh to. The system tends ...
8
votes
4answers
314 views

How do I shutdown, reboot and logout the system from the command-line?

I would like to do that using the command-line, because sometimes my computer freezes and I need to force a shutdown (I know it's not good to the hardware). And: What is the difference between Halt ...
6
votes
1answer
374 views

Meaning and commands for Ctrl+Alt+Del

In my gnome GUI desktop of Ubuntu 12.04, Ctrl+Alt+Delete will log out instead of rebooting. But I was told that Switching to a text-based virtual console and pressing Ctrl+Alt+Delete will ...
5
votes
2answers
265 views

How can I run a script during GNOME logout if I don't have admin privileges?

I want to run a script before I log out of my GNOME session, to warn myself if I have forgotten a pendrive plugged into the machine. However, all solutions I have found have not been enough for me: ...
4
votes
3answers
1k views

Gnome Logout from command

How to get logout from Gnome session via command line ? Also Is there any way in GNOME to do "switch user" from command line ?
3
votes
4answers
2k views

How can I logout from a graphical environment from the command line?

Part of the beauty of trying out alpha releases of operating systems is that things will break, including things we take for granted. Today it's the turn of the logout button. So, how do you log out ...
2
votes
1answer
171 views

Script to let the user cancel a shell logout

I want to write a script to display a message and possibly cancel a logout from an interactive shell. This is because I often run background jobs in some of my shells and in the spur of the moment I ...
2
votes
1answer
562 views

Remove shutdown/reboot options from logout window

In my CentOS5 installation in KDE, users get presented the options to terminate the session, reboot, and shutdown. Since this computer should always remain on, I'd like to remove the reboot and ...
2
votes
1answer
236 views

Randomly logging out

My Xubuntu 10.04 system logs me out seemingly at random. How can I diagnose why this is happening and correct it?
2
votes
1answer
832 views

What killed tty main process suddenly?

I'm doing some stress testing of a piece of software that can run shell commands. Periodically, the system logs me out during stress testing. My record of the commands that triggered this always ...
2
votes
1answer
519 views

How to enter/choose session after logout without password in (Linux Mint) Xfce?

I have Linux Mint 14 Xfce (4.10) and have also installed LXDE desktop, so I can choose between these sessions if I want. Normally I would set one as default and at startup I am not asked for ...
1
vote
1answer
68 views

Is there a way to execute a command when a user logs off from X?

I am trying to execute two commands one on logon and one on logoff. For the log on one, I put my script into /etc/X11/xinit/xinitrc.d and this works. I'd like it to be system-wide so I can use any ...
1
vote
0answers
40 views

Logout user with systemd

I start my window manager with systemd service units (following this tutorial). After I log in at tty1 the following gets executed in .zlogin (I'm using ZSH as a login shell): if [[ -z "$DISPLAY" ...
0
votes
0answers
27 views

Turning off the hdmi tv/monitor gives me a login screen when turning the tv back on

So all power management settings are disabled. And we don't get the login prompt when the tv stays on for a long time. The comp does not go to standby. We even disabled 'show login after screensaver' ...