🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #23966

Killing clients on an X terminal

#23966
From: Brian Pane
Date: Fri, 21 Jun 1991 22:19
19 lines
1343 bytes
What is the polite way of killing one's X clients upon exiting the window
manager when using an X terminal?  I'm not using xdm; I run the commands in
my .xinitrc (with "exec mwm" as its last line) manually with a shell exec'ed
from my login shell.  When I terminate the window manager, everything but
xterms and emacs dies.  I can't figure out what xterm and emacs have in
common (not uid or response to signals, as far as I can tell) that allows
them to survive, nor what specifically causes the rest of the clients to
die when the parent process exits.

I've solved my problems by using xmexit, which destroys everything on
my screen quite effectively, but I'd like to understand why the clients
behave as they do upon mwm's normal exit.  (I found the same results
with twm.)

Can someone explain what I'm missing?

Thanks,
-Brian		bpane@tnds.bellcore.com
Technical Details
Message-ID: <1991Jun21.221946.9229@bellcore.bellcore.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!uunet!bellcore!tnds.bellcore.com!bpane

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!uunet!bellcore!tnds.bellcore.com!bpane
From: bpane@tnds.bellcore.com (Brian Pane)
Newsgroups: comp.windows.x
Subject: Killing clients on an X terminal
Message-ID: <1991Jun21.221946.9229@bellcore.bellcore.com>
Date: 21 Jun 91 22:19:46 GMT
Sender: usenet@bellcore.bellcore.com (Poster of News)
Reply-To: bp@tnds.bellcore.com
Organization: Bell Communications Research
Lines: 19