Bug 134756 - /etc/X11/xinit/Xclients script has syntax error - missing fi
Summary: /etc/X11/xinit/Xclients script has syntax error - missing fi
Keywords:
Status: CLOSED DUPLICATE of bug 134673
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: X/OpenGL Maintenance List
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-10-06 04:28 UTC by Bob Gustafson
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-02-21 19:06:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Bob Gustafson 2004-10-06 04:28:41 UTC
Description of problem:

 On booting into X using startx, I see a syntax error message and it
does not go into X.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Fix is shown below

[root@hoho2 user1]# more /etc/X11/xinit/Xclients
#!/bin/bash
# Copyright (C) 1999 - 2004 Red Hat, Inc. All rights reserved. This
# copyrighted material is made available to anyone wishing to use, modify,
# copy, or redistribute it subject to the terms and conditions of the
# GNU General Public License version 2.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

# 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                               <<<< THIS LINE IS MISSING
fi

Comment 1 Bill Nottingham 2004-10-06 04:30:00 UTC

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

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


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