Bug 19704

Summary: prefdm doesn't select display manager correctly
Product: [Retired] Red Hat Linux Reporter: Need Real Name <jsusanj>
Component: xinitrcAssignee: Preston Brown <pbrown>
Status: CLOSED WORKSFORME QA Contact: Aaron Brown <abrown>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-10-27 19:01:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Need Real Name 2000-10-24 17:58:36 UTC
When reading the desktop file prefdm uses the = operator, which is assignment, to determine if there is a match between the symbol 
DESKTOP and the known display managers.  However, it should be == which is comparison.  prefdm always selected gnome.

Comment 1 Tim Waugh 2000-10-27 14:31:38 UTC
In a [ test like this ] a single = is a comparison. (man test)

What do you have in /etc/sysconfig/desktop?

Comment 2 Need Real Name 2000-10-27 19:01:37 UTC
In /etc/sysconfig/desktop I have DESKTOP = KDE.  I would accept your comment about = vs == except that it did not work before I changed it and it did 
work after I changed it.  Is the definition of = dependent on the shell?  Or, does the xinitrc execute before changing to my shell?  I use tcsh.

Comment 3 Preston Brown 2001-01-31 22:21:07 UTC
No, it specifically uses bash, so tcsh shouldn't matter.

We can't reproduce this...very strange.