From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Description of problem:
> In /etc/sysconfig is a file "desktop" which contains e.g. the line:
> DESKTOP=GNOME. It is sourced by /etc/X11/prefdm.
> However, in prefdm the variable which is tested to decide which
> display manager to start, is $DISPLAYMANAGER. The test is always
> false, so $preferred is always gdm.
> If you want kdm you need to add "DISPLAYMANAGER=kdm" into
> /etc/sysconfig/desktop. Maybe you can even delete the line
> DESKTOP=KDE, but I don't know if any other script relies on this
> variable being set.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. change value for DESKTOP in /etc/sysconfig
2. re-start X
3. Display Manager is still GDM
Actual Results: Display Manager is still GDM
Expected Results: Display Manager should be KDM
Additional info: This already happened in Red Hat 8
Sorry, but you're mistaken here. There are two variables involved.
DESKTOP - selects which desktop environment you wish to use - GNOME/KDE/etc
DISPLAYMANAGER - selects which display manager you wish to use - xdm/kdm/gdm
This is the way it has always worked, and it is fully documented in the
manuals. If you want a different display manager than what you're given
by default, then you *MUST* set DISPLAYMANAGER. prefdm is doing the right