FC5 doesn't start up right.
Poohba
poohba at blkpoohba.dyndns.org
Thu Jul 20 12:22:17 UTC 2006
It is already there
id:5:initdefault:
I do however see:
# Run xdm in runlevel 5
x:5:once:/etc/X11/prefdm -nodaemon
maybe that should be something different or maybe I should
edit /etc/X11/prefdm so that it starts gdm instead of what its trying to
start which I think may be kde since that is what I was using before.
[08:20:35 root at For_DVD]cat /etc/X11/prefdm
#!/bin/sh
PATH=/sbin:/usr/sbin:/bin:/usr/bin
# shut down any graphical boot that might exist
if [ -x /usr/bin/rhgb-client ]; then
/usr/bin/rhgb-client -quit
fi
# We need to source this so that the login screens get translated
[ -f /etc/profile.d/lang.sh ] && . /etc/profile.d/lang.sh
# Run preferred X display manager
preferred=
if [ -f /etc/sysconfig/desktop ]; then
. /etc/sysconfig/desktop
if [ "$DISPLAYMANAGER" = GNOME ]; then
preferred=/usr/sbin/gdm
elif [ "$DISPLAYMANAGER" = KDE ]; then
preferred=/usr/bin/kdm
elif [ "$DISPLAYMANAGER" = XDM ]; then
preferred=/usr/bin/xdm
elif [ -n "$DISPLAYMANAGER" ]; then
preferred=$DISPLAYMANAGER
fi
fi
shopt -s execfail
# If we're in early-login mode and something is running, bail out
if grep -q early-login /proc/cmdline 2> /dev/null ; then
if [ -n "$preferred" ]; then
pidof $preferred >/dev/null 2>&1 && exit 0
fi
pidof gdm-binary >/dev/null 2>&1 && exit 0
pidof kdm >/dev/null 2>&1 && exit 0
pidof xdm >/dev/null 2>&1 && exit 0
fi
if [ -n "$preferred" ]; then
$preferred "$@" >/dev/null 2>&1
if [ $? -ne 127 ]; then
exec $0 "$@"
exit $?
fi
fi
# Fallbacks, in order
gdm "$@" >/dev/null 2>&1
if [ $? -ne 127 ]; then
exec $0 "$@"
exit $?
fi
kdm "$@" >/dev/null 2>&1
if [ $? -ne 127 ]; then
exec $0 "$@"
exit $?
fi
xdm "$@" >/dev/null 2>&1
if [ $? -ne 127 ]; then
exec $0 "$@"
exit $?
fi
# catch all exit error
exit 1
On Wed, 2006-07-19 at 20:55 -0800, Kam Leo wrote:
> On 7/18/06, Poohba <poohba at blkpoohba.dyndns.org> wrote:
> >
> > I am not able to start right into gnome or kde. I think it is set to start
> > in kde and it is failing. I have to boot into linux using the argument
> > linux 3, log in as root and then 'gdm' to get into X. Why is this? When I
> > boot regular it stops after starting Hal Daemon. I had fc3 and upgraded to
> > fc5 and this has been the problem since the upgrade. There seems to be a
> > lot of problems with python, I am not sure if that is the problem but it is
> > a problem.
> >
> >[snip]
>
> If your problem is only booting into runlevel 5 instead of runlevel 3
> edit /etc/inittab and change
> "id:3:initdefault:" to "id:5:initdefault:". Next reboot should start gdm.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20060720/d3d9cb8a/attachment-0002.html
More information about the users
mailing list