Bug 134771 - Syntax error in /etc/X11/xinit/Xclients, Xsession doesn't start
Summary: Syntax error in /etc/X11/xinit/Xclients, Xsession doesn't start
Keywords:
Status: CLOSED DUPLICATE of bug 134673
Alias: None
Product: Fedora
Classification: Fedora
Component: xinitrc
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: X/OpenGL Maintenance List
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-10-06 07:48 UTC by Pavel Lisy
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:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Pavel Lisy 2004-10-06 07:48:48 UTC
Description of problem:

There is syntax error in script /etc/X11/xinit/Xclients


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

How reproducible:
Always

Steps to Reproduce:
1. Try login in gdm
2.
3.
  
Actual results:
Xsesion of user started

Expected results:
Error with message: Unexpected eng of file in /etc/X11/xinit/Xclients
and return to gdm

Additional info:
Wrong code:

if [ -f /etc/sysconfig/desktop ]; then
    . /etc/sysconfig/desktop
    if [ "$DESKTOP" = "GNOME" ]; then
        PREFERRED=gnome-session
    elif [ "$DESKTOP" = "KDE" ]; then
        PREFERRED=startkde
fi


Correct code:
if [ -f /etc/sysconfig/desktop ]; then
    . /etc/sysconfig/desktop
    if [ "$DESKTOP" = "GNOME" ]; then
        PREFERRED=gnome-session
    elif [ "$DESKTOP" = "KDE" ]; then
        PREFERRED=startkde
    fi
fi

Comment 1 Mike A. Harris 2004-10-06 12:36:15 UTC

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

Comment 2 Red Hat Bugzilla 2006-02-21 19:06:09 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.