Bug 89177

Summary: unable to switch to kdm
Product: [Retired] Red Hat Linux Reporter: Peer Hebing <hebing>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED NOTABUG QA Contact: Brock Organ <borgan>
Severity: low Docs Contact:
Priority: medium    
Version: 9CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: athlon   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-04-21 15:55:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Peer Hebing 2003-04-19 09:42:36 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030313

Description of problem:
This seems to be wrong 
if [ -f /etc/sysconfig/desktop ]; then
        . /etc/sysconfig/desktop
        if [ "$DISPLAYMANAGER" = GNOME ]; then
                preferred=gdm
        elif [ "DISPLAYMANAGER" = KDE ]; then
                preferred=kdm
        elif [ "$DISPLAYMANAGER" = XDM ]; then
                preferred=xdm
        fi




Version-Release number of selected component (if applicable):
initscripts-7.14-1

How reproducible:
Always

Steps to Reproduce:
1.Select KDE as prefered Desktop
2. Boot to runlevel 5

    

Actual Results:  gdm is coming up instead of kdm even if the prefered Desktop in 
/etc/sysconfig/desktop is KDE

Expected Results:  It should start kdm 

Additional info:
upgraded from RH 8.0 i have DESKTOP="KDE" in /etc/sysconfig/desktop.
I think it has to be $DESKTOP instead of $DISPLAYMANAGER in this case

Comment 1 Bill Nottingham 2003-04-21 15:55:28 UTC
No, this was intentional.