When you logout of X (i.e. you return to the gdm login screen) does X wait for all child processes to terminate? In addition does every child process get a SIGTERM signal sent to it? I'm asking because I want to execute some shutdown functions automatically when I logout and if X *does* wait then this would be a way to do it. -- Chris Green