[ Usenet FAQs | Web FAQs | Documents | RFC Index ]
    Search the FAQ Archives

Single Page

Top Document: SGI graphics Frequently Asked Questions (FAQ)
Previous Document: -35- Can I run a different window manager?
Next Document: -37- How can I recover from a failed window manager customization attempt?


-36- How can I choose a different window manager as the default?


Date: 07 May 1993 00:00:01 EST

  You must use a .xsession file and explicitly invoke the window
  manager and any other applications you want to use, such as
  'toolchest' and 'xwsh'.

  After making this change, you may only be able to log out by using
  the "Log Out" selection in the toolchest, or by executing
  /usr/bin/X11/endsession.

  Here are the contents of a sample .xsession file:

      xhost + &
      toolchest -name ToolChest > /dev/console 2&>1 &
      winterm -bg red &
      winterm -bg blue &
      mwm > /dev/console 2&>1 &
      /usr/bin/X11/reaper

  Note that 'reaper' is not put into the background.  When 'reaper'
  exits you will be logged out.

  Alternatively, you can do the following steps:

  1. cp /usr/lib/X11/xdm/Xsession ~/.xsession

  2. Remove the lines in ~/.xsession that say:

     if [ -r $xsession -a "$0" != $xsession ]; then
  	if [ -x $xsession ]; then
  		exec $xsession
  	else
  		exec /bin/sh $xsession
  	fi
     fi

  3. Change the line that says

     /usr/bin/X11/4Dwm >/dev/console 2>&1 &

     to

     /usr/bin/X11/mwm > /dev/console 2>&1 &



Top Document: SGI graphics Frequently Asked Questions (FAQ)
Previous Document: -35- Can I run a different window manager?
Next Document: -37- How can I recover from a failed window manager customization attempt?

Single Page


[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
sgi-faq@viz.tamu.edu (The SGI FAQ group)

Last Update October 22 2009 @ 05:34 AM

Some parts © 2009 Advameg, Inc.