Bug 19704 - prefdm doesn't select display manager correctly
Summary: prefdm doesn't select display manager correctly
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: xinitrc   
(Show other bugs)
Version: 7.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Preston Brown
QA Contact: Aaron Brown
Depends On:
TreeView+ depends on / blocked
Reported: 2000-10-24 17:58 UTC by Need Real Name
Modified: 2007-04-18 16:29 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-10-27 19:01:40 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

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.

Note You need to log in before you can comment on or make changes to this bug.