Bug 134761

Summary: Syntax error in /etc/X11/xinit/Xclients cause gnome session to fail
Product: [Fedora] Fedora Reporter: David Lawrence <dkl>
Component: xinitrcAssignee: X/OpenGL Maintenance List <xgl-maint>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3   
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: 2006-02-21 19:06:08 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 David Lawrence 2004-10-06 05:55:38 UTC
Description of problem:
Missing 'fi' in Xclients

# check to see if the user has a preferred desktop
PREFERRED=
if [ -f /etc/sysconfig/desktop ]; then
    . /etc/sysconfig/desktop
    if [ "$DESKTOP" = "GNOME" ]; then
        PREFERRED=gnome-session
    elif [ "$DESKTOP" = "KDE" ]; then
        PREFERRED=startkde
fi

should be

# check to see if the user has a preferred desktop
PREFERRED=
if [ -f /etc/sysconfig/desktop ]; then
    . /etc/sysconfig/desktop
    if [ "$DESKTOP" = "GNOME" ]; then
        PREFERRED=gnome-session
    elif [ "$DESKTOP" = "KDE" ]; then
        PREFERRED=startkde
    fi
fi

Version-Release number of selected component (if applicable):
xinitrc-4.0.7-1

Comment 1 Bryan W Clark 2004-10-06 12:51:35 UTC
Yellow Pad bug

Comment 2 Mike A. Harris 2004-10-06 12:52:09 UTC
*** This bug has been marked as a duplicate of 134673 ***

*** This bug has been marked as a duplicate of 134673 ***

Comment 3 Red Hat Bugzilla 2006-02-21 19:06:08 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.