Newsgroup: it.comp.os.linux.iniziare
Titolo: Inittab corretto, ninte grafica!

# Default runlevel. The runlevels used by RHS are:
#   0 - halt (Do NOT set initdefault to this)
#   1 - Single user mode
#   2 - Multiuser, without NFS (The same as 3, if you do not have 
networking)
#   3 - Full multiuser mode
#   4 - unused
#   5 - X11
#   6 - reboot (Do NOT set initdefault to this)
#
id:5:initdefault:
# System initialization.
si::sysinit:/etc/rc.d/rc.sysinit
l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6
# Things to run in every runlevel.
ud::once:/sbin/update
# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
# When our UPS tells us power has failed, assume we have a few minutes
# of power left.  Schedule a shutdown for 2 minutes from now.
# This does, of course, assume you have powerd installed and your
# UPS connected and working correctly.
pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"
# If power was restored before the shutdown kicked in, cancel it.
pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"
# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6
# Run xdm in runlevel 5
# xdm is now a separate service
x:5:respawn:/etc/X11/prefdm -nodaemon
Questo è il file ma il valore è già settato a 5 eppure non parte l'X11 ma 
la modalità testuale.
E non ci dovrebbero essere errori nell'x11 visto che con startx il sistema 
grafico parte senza problemi...che fare?!

 grafico parte senza problemi...che fare?!
ma nella tua rc5 c'e' il link a xdm?
-- 
Posted via Mailgate.ORG Server - 
http://www.Mailgate.ORG


#
# Now find out what the current and what the previous runlevel are.
argv1="$1"
set `/sbin/runlevel`
runlevel=$2
previous=$1
export runlevel previous
# Source function library.
. /etc/init.d/functions
# See if we want to be in user confirmation mode
if [ "$previous" = "N" ]; then
    if grep -i confirm /proc/cmdline >/dev/null || [ -f /var/run/confirm ] 
; then
      rm -f /var/run/confirm
      CONFIRM=yes
      echo $"Entering interactive startup"
    else
      CONFIRM=
      echo $"Entering non-interactive startup"
    fi
fi
export CONFIRM
# Get first argument. Set new runlevel to this argument.
[ -n "$argv1" ] && runlevel="$argv1"
# Tell linuxconf what runlevel we are in
[ -d /var/run ] && echo "/etc/rc$runlevel.d" > /var/run/runlevel.dir
# Is there an rc directory for this new runlevel?
if [ -d /etc/rc$runlevel.d ]; then
        # First, run the KILL scripts.
        for i in /etc/rc$runlevel.d/K*; do
                # Check if the script is there.
                [ ! -f $i ] && continue
                # Don't run [KS]??foo.{rpmsave,rpmorig} scripts
                [ "${i%.rpmsave}" != "${i}" ] && continue
                [ "${i%.rpmorig}" != "${i}" ] && continue
                [ "${i%.rpmnew}" != "${i}" ] && continue
                # Check if the subsystem is already up.
                subsys=${i#/etc/rc$runlevel.d/K??}
                [ ! -f /var/lock/subsys/$subsys ] && \
                    [ ! -f /var/lock/subsys/${subsys}.init ] && continue
                # Bring the subsystem down.
                if egrep -q "(killproc |action )" $i ; then
                        $i stop
                else
                        action $"Stopping $subsys: " $i stop
                fi
        done
        # Now run the START scripts.
        for i in /etc/rc$runlevel.d/S*; do
                # Check if the script is there.
                [ ! -f $i ] && continue
                # Don't run [KS]??foo.{rpmsave,rpmorig} scripts
                [ "${i%.rpmsave}" != "${i}" ] && continue
                [ "${i%.rpmorig}" != "${i}" ] && continue
                [ "${i%.rpmnew}" != "${i}" ] && continue
                # Check if the subsystem is already up.
                subsys=${i#/etc/rc$runlevel.d/S??}
                [ -f /var/lock/subsys/$subsys ] || \
                    [ -f /var/lock/subsys/${subsys}.init ] && continue
                # If we're in confirmation mode, get user confirmation
                [ -n "$CONFIRM" ]  &&
                  { 
                    confirm $subsys
                    case $? in
                      0)
                        :
                      ;;
                      2)
                        CONFIRM=
                      ;;
                      *)
                        continue
                      ;;
                    esac
                  }
                # Bring the subsystem up.
                if egrep -q "(daemon |action )" $i ; then
                        if [ "$subsys" = "halt" -o "$subsys" = "reboot" ]; then
                                unset LANG
                                unset LC_ALL
                                unset TEXTDOMAIN
                                unset TEXTDOMAINDIR
                                exec $i start
                        else
                            $i start
                        fi
                else
                        if [ "$subsys" = "halt" -o "$subsys" = "reboot" -o "$subsys" = "single" 
-o "$subsys" = "local" ]; then
                            if [ "$subsys" = "halt" -o "$subsys" = "reboot" ]; then
                                unset LANG
                                unset LC_ALL
                                unset TEXTDOMAIN
                                unset TEXTDOMAINDIR
                                exec $i start
                            fi
                            $i start
                        else
                            action $"Starting $subsys: " $i start
                        fi
                fi
        done
fi
Il fatto è che è quello di default messo dalla redhat.Io non ho cambiato 
nulla!Effettivamente non c'è un link a xdm...ma dovrebbe trovarsi qui?
                                        Matteo

 grafico parte senza problemi...che fare?!
Guarda in /var/log/XFree86.log quello che succede quando (se) si avvia il
login grafico.
Ciao
  Andrea