if you shutdown your pc and have apps open the apps don't "stop" the shutdown and ask to save

Alan Cox alan at redhat.com
Wed Jun 16 19:59:39 UTC 2004


On Wed, Jun 16, 2004 at 02:47:30PM -0400, David T Hollis wrote:
> applications get a signal that they are being shutdown and they can
> respond to it.  This is where Word would ask you to save your file, etc.
> The downside is that applications can prevent the logoff/shutdown from
> happening and that can cause maddening system 'hangs'.  Is there such a
> signal that Linux/UNIX apps receive?  Does it come from X, Gnome/KDE?  

X session management for the case of logout. For the case of administrator
initiated shutdown they get SIGTERM a few seconds and SIGKILL





More information about the fedora-devel-list mailing list