Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!usc!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-lines From: smarks@eng.sun.COM (Stuart Marks) Newsgroups: comp.windows.x Subject: Re: olwm *exiting* problems Message-ID: <9101301845.AA18061@trantor.Eng.Sun.COM> Date: 30 Jan 91 18:45:31 GMT References: <"30-Jan-91.11:03:42.EST".*.Nagesh_Pabbisetty.Henr801C@Xerox.com> Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 43 Nagesh_Pabbisetty.Henr801C@xerox.com writes: 1. When I run openwin, then olwm menu has both these entries. However, using "Exit WM..." logs me out of the system even without asking me for confirmation. When I select "Exit..." menu item, it asks me for confirmation. However, both exit me from the server! Is there anything I am doing incorrectly? More details... it's not olwm that shuts down the server, it's another agent. In the case of OpenWindows, this agent is xinit. When you start up the system, xinit runs a the .xinitrc script and waits for it to finish. When .xinitrc finishes, xinit shuts down the server. The default .xinitrc waits for olwm to exit. So, when olwm exits, .xinitrc exits, and then xinit kills the server. To change this behavior, edit .xinitrc so that it waits for something other than olwm. For example, the last lines of my .xinitrc are olwm & exec xterm -C -g 80x8-0+0 which run olwm and then a console xterm. This way, the server stays up until I exit the console xterm. 2. If I run the MIT server, and then start up olwm, its menu does not show an entry for "Exit WM..." at all! Should I have another default file for using olwm with the MIT server? MIT server with olwm is my preferred configuration (:-). This is odd. Do you have a different version of olwm in your MIT installation? Older versions of olwm read a different menu customization file. Make sure you have the latest version of olwm. The olwm in OpenWindows version 2 and the olwm in the XView source release (on expo in contrib/xview2.tar.Z) are virtually identical and are the latest publically available versions. You should be able to run the the olwm from OpenWindows with the MIT server. s'marks Stuart W. Marks ARPA: smarks@eng.sun.com Windows & Graphics Software UUCP: sun!smarks Sun Microsystems, Inc.