"Alan Su" <[EMAIL PROTECTED]> writes: > Daniel Martin at cush wrote (Wed, 10 Dec 1997 22:34:52 -0500 ): > |>Hamish Moffatt <[EMAIL PROTECTED]> writes: > |> > |>> The window manager should always be last too. Specifically, the last > |>> command should not end in &, but it's most useful if that's the window > |>> manager. You could make it xclock or something, but then you'd > |>> have to kill the clock somehow to logout. > |> > |>Depends - most window managers will send a message to all active X > |>clients when they exit that causes them to shut down. > |> > > I don't think this is right...I've fiddled a lot with window managers, > and I switch them ``mid-flight'' quite a bit. (Since I have an xterm > as the final exec'd command, killing my window manager doesn't end my > x session.) If what you're saying is true, every time I switch window > managers, all my windows would die, effectively ending the session. > Needless to say, this doesn't happen.
It depends entirely of the window manager. WindowMaker, for example, has two exit options: "exit..." and "exit session...". This way it is optional whether all X clients should be killed or not. It is correct that if you kill a window manager manually (kill <pid>), it should not kill other X clients (except perhaps it children). - Sten Anderson -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .