[comp.windows.x] How to kill olwm?

gjw@andreas.wr.usgs.GOV (Gregory J. Woodhouse) (01/08/91)

In the course of trying to debug a program, I wanted to run it without a
window manager, and discovered that killing olwm also killed my server.
I'm using Openwindows 2.0 on a SPARC 1+.

Do any of you know what is going on here?
-----------------------------------------------------------------------------
Gregory Woodhouse          |We know that the center of the earth
gjw@andreas.wr.usgs.gov    |is a fiery molten mass...but it's not
(415) 329-4694 (office)    |good to dwell on it.
(415) 325-7802 (home)      |
U.S. Geological Survey / 345 Middlefield Rd. MS 977 / Menlo Park, CA 94025
-----------------------------------------------------------------------------

smarks@eng.sun.COM (Stuart Marks) (01/08/91)

From: gjw@andreas.wr.usgs.gov (Gregory J. Woodhouse)
    In the course of trying to debug a program, I wanted to run it without a
    window manager, and discovered that killing olwm also killed my server.
    I'm using Openwindows 2.0 on a SPARC 1+.

This is xinit killing the server.  xinit starts the server and then starts
the .xinitrc shell script.  When that shell script terminates, xinit kills
the server.  In OpenWindows, by default, .xinitrc is waiting for olwm to
terminate.  Thus, when you kill olwm, the server comes down.

To run without a window manager, or to switch window managers, edit your
.xinitrc script so that it waits for some other client, such as an xterm
or cmdtool.

s'marks

Stuart W. Marks			ARPA: smarks@eng.sun.com
Windows & Graphics Software	UUCP: sun!smarks
Sun Microsystems, Inc.