PROTOR Knowledge Base

PROTOR Redhat : Installing XDM

Author: Don Davies
Date: 21-Apr-2002


By default the RedHat 7.2 installation uses the GNOME Display Manager GDM or possibly the KDE Display Manager KDM. Both these Display Managers are very powerful and allow users to select the type of session to start ( such as GNOME or KDE ). There are also options and menus to shutdown or reboot the system. For a PROTOR installation where we want to control the users session then using the basic XFree86 display manager XDM is preferable.

The choice of Display Manager is specified within the file /etc/sysconfig/desktop.

By default this file simply contains the line

        Desktop=""

On startup of X for RedHat 7.2 this will by default start the GDM Display Manager.

Edit this file to control the Display Manager to start. Use

         Desktop = "KDE"               to start KDM

         Desktop = "GNOME"             to explicitly start GDM

         Desktop = AnotherLevel        to start XDM

If using XDM then the appearance of the login box is controlled by the file /etc/X11/xdm/Xresources . To improve the appearance of the login box edit this file and remove references to the XFree86 logos.

The selection and startup of an appropriate display manager is controlled by the script /etc/X11/prefdm which is referenced from /etc/inittab. On later versions of Redhat, references to AnotherLevel and hence the startup of XDM are removed. See the additional note on configuring /etc/X11/prefdm for XDM.


Return to Knowledge Base