Notes on intalling a new window manager on RedHat

When I installed the Fluxbox window manager(WM), a very nice and lightweight WM. I had to do some digging around on the Internet and startup script files to get Fluxbox as an option in the GDM (the login box, where you have the option to start either the GNOME, KDE or the Failsafe session)

Here is how it is done

  1. Compile, install the WM of your choice.
  2. login   as root and go to directory /etc/X11/gdm/Sessions
  3. Create a file in the diectory, and give it he name of whatever WM you have installed i.e. Fluxbox, Enlightenment, WMaker etc.
  4. Enter the following lines into the above file
    #!/bin/bash
    exec  [Path to the WM launcher]
    Change the   [Path to the WM launcher] to whatever your WM uses. In case of Fluxbox it is /usr/bin/startfluxbox , in case of Enlightenment it is /etc/X11/xdm/Xsession enlightenment and in case of WindowMaker it is /etc/X11/xdm/Xsession wmaker. These locations may change according to the options you have used while compiling.

Additional information