Newsgroups: comp.windows.open-look Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!parc!janssen From: janssen@parc.xerox.com (Bill Janssen) Subject: Re: How to shut down openwin from other window mangers Message-ID: <1991Apr21.002315.6784@parc.xerox.com> Sender: news@parc.xerox.com Organization: Xerox PARC References: Date: Sun, 21 Apr 1991 00:23:15 GMT In article Stuart.Marks@Eng.Sun.COM (Stuart Marks) writes: > > mpulver%austek.OZ@uunet.UU.NET (Mark Pulver) writes: > > Question: [using vtwm instead of olwm] how can I shutdown/exit/quit > openwin cleanly? Currently I find the search for and kill xnews by > hand. It certain does not exit cleanly, but it exits. > > You shouldn't have to do this. Like other X servers, xnews relies on an > outside agent (e.g. xinit or xdm) to start it up and shut it down. The > default OpenWindows configuration uses xinit to start up and shut down the > server. The lifetime of the server is determined by the lifetime of the > $HOME/.xinitrc shell script. xinit starts up the server and runs .xinitrc. > When .xinitrc exits, xinit shuts down the server. > > So, how are you starting up xnews? If you run 'xnews' by itself, there's > no real clean way to shut down the server. You should run it using xinit, > or using the "openwin" script (which is a wrapper around xinit). > > The .xinitrc script usually waits around for a particular client to > exit. This client controls the lifetime of the session. This client is > typically a console terminal emulator, or the window manager, or perhaps > xlogo. > > olwm's Exit function works by first killing all running clients and then > exiting. This pretty much guarantees that the window system will come > down. I don't know if there's a similar function in vtwm. > > s'marks > > Stuart W. Marks ARPA: smarks@eng.sun.com > Windows & Graphics Software UUCP: sun!smarks > Sun Microsystems, Inc. -- Bill Janssen janssen@parc.xerox.com (415) 494-4763 Xerox Palo Alto Research Center 3333 Coyote Hill Road, Palo Alto, California 94304