selectwm is a simple but robust program that will
let you pick a window manager (or other
executable) to run at X startup, and optionally
after a window manager exits. It uses the GTK+
toolkit, and includes options like a timer to
start the default window manager and modification
of the window manager list from within selectwm.