Bug 88389

Summary: cant start xdm or kdm due to wrong variable name in prefdm
Product: [Retired] Red Hat Linux Reporter: Jan <jan.simon>
Component: xinitrcAssignee: Mike A. Harris <mharris>
Status: CLOSED NOTABUG QA Contact: Jay Turner <jturner>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-04-11 23:14:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Jan 2003-04-09 17:51:13 UTC
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):

How reproducible:

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

Comment 1 Mike A. Harris 2003-04-11 23:14:28 UTC
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

Closing NOTABUG.