Bug 4954

Summary: prefdm problems
Product: [Retired] Red Hat Raw Hide Reporter: Joseph Malicki <malicki.1>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: rvokal
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: 1999-09-07 19:26:00 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 Joseph Malicki 1999-09-07 16:09:43 UTC
I have two  problems with /etc/X11/prefdm

first of all, the lines like:

if [ -n "grep GNOME /etc/sysconfig/desktop" ]; then

actually tests that the string "grep
GNOME /etc/sysconfig/desktop" is not empty.

What you want, and what works, is:

if [ -n "`grep GNOME /etc/sysconfig/desktop`" ]; then

Also, when I select the AnotherLevel desktop, it fails
because /usr/X11R6/bin, where xdm is located, is not in the
PATH of prefdm.

Comment 1 Bill Nottingham 1999-09-07 19:26:59 UTC
fixed in the latest initscripts in Raw Hide.