[gull] Demarrage incontrolable de X sous Debian ?
Sebastien Chassot
seba.info at bluewin.ch
Mon Mar 1 12:44:02 CET 2004
Bonjour,
J'ai une question concernant le démarrage de ma Debian.
Quand je boot, kdm démarre automatiquement. mais voilà inittab est
configuré en runlevel 2 et c'est bien le cas au résultat de la commande
runlevel
seulement dans /etc/rc2.d le démarrage de kdm est arrêté... je ne
comprend pas.
Pour aider, quand je change de runlevel avec "init 3" il ne fait rien
mais en repassant en 2 il arrête kdm. Comme si il n'executait plus tout
les script.
le problème n'est pas très important maintenant, mais à l'origine comme
j'ai rapidement configuré X et changé inittab en me disant que je le
testerais plus tard je ne m'attendais pas à ce qu'il démarre tout seul
(le clavier était mal configuré) je ne pouvais même plus rebooter. J'ai
été obliger de changé de carte graphique physiquement pour faire planter
X et avoir une console.
Merci de votre éclairage sur cette partie du system qui m'échappe.
========================================================================
***** résultat de runlevel sur console juste après démarrage *******
========================================================================
pc:~# runlevel
N 2
========================================================================
***** cat /etc/inittab *******
========================================================================
# /etc/inittab: init(8) configuration.
# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $
# The default runlevel.
id:2:initdefault:
# Boot-time system configuration/initialization script.
# This is run first except when booting in emergency (-b) mode.
si::sysinit:/etc/init.d/rcS
# What to do in single-user mode.
~~:S:wait:/sbin/sulogin
# /etc/init.d executes the S and K scripts upon change
# of runlevel.
#
# Runlevel 0 is halt.
# Runlevel 1 is single-user.
# Runlevels 2-5 are multi-user.
# Runlevel 6 is reboot.
l0:0:wait:/etc/init.d/rc 0
l1:1:wait:/etc/init.d/rc 1
l2:2:wait:/etc/init.d/rc 2
l3:2:wait:/etc/init.d/rc 3
l4:4:wait:/etc/init.d/rc 4
l5:5:wait:/etc/init.d/rc 5
l6:6:wait:/etc/init.d/rc 6
# Normally not reached, but fallthrough in case of emergency.
z6:6:respawn:/sbin/sulogin
# What to do when CTRL-ALT-DEL is pressed.
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
# Action on special keypress (ALT-UpArrow).
#kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let
this work."
# What to do when the power fails/returns.
pf::powerwait:/etc/init.d/powerfail start
pn::powerfailnow:/etc/init.d/powerfail now
po::powerokwait:/etc/init.d/powerfail stop
# /sbin/getty invocations for the runlevels.
#
# The "id" field MUST be the same as the last
# characters of the device (after "tty").
#
# Format:
# <id>:<runlevels>:<action>:<process>
#
# Note that on most Debian systems tty7 is used by the X Window System,
# so if you want to add more getty's go ahead but skip tty7 if you run
X.
#
1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6
# Example how to put a getty on a serial line (for a terminal)
#
#T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
#T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100
# Example how to put a getty on a modem line.
#
#T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3
========================================================================
***** ls de /etc/rc2.d *******
========================================================================
lrwxrwxrwx 1 root root 17 Feb 17 11:36 K11anacron ->
../init.d/anacron
lrwxrwxrwx 1 root root 13 Feb 22 12:25 K99kdm ->
../init.d/kdm
lrwxrwxrwx 1 root root 13 Feb 22 12:25 K99wdm ->
../init.d/wdm
lrwxrwxrwx 1 root root 13 Feb 22 12:25 K99xdm ->
../init.d/xdm
lrwxrwxrwx 1 root root 18 Feb 13 2003 S10sysklogd ->
../init.d/sysklogd
lrwxrwxrwx 1 root root 17 Feb 28 14:37 S11hotplug ->
../init.d/hotplug
lrwxrwxrwx 1 root root 15 Feb 13 2003 S11klogd ->
../init.d/klogd
lrwxrwxrwx 1 root root 13 Feb 13 2003 S14ppp ->
../init.d/ppp
lrwxrwxrwx 1 root root 15 Feb 13 14:10 S15bind9 ->
../init.d/bind9
lrwxrwxrwx 1 root root 16 Feb 13 14:20 S15lwresd ->
../init.d/lwresd
lrwxrwxrwx 1 root root 20 Feb 13 14:10 S19nfs-common ->
../init.d/nfs-common
lrwxrwxrwx 1 root root 14 Feb 22 19:17 S20alsa ->
../init.d/alsa
lrwxrwxrwx 1 root root 16 Feb 17 11:30 S20cupsys ->
../init.d/cupsys
lrwxrwxrwx 1 root root 22 Feb 21 11:10 S20dhcp3-server
-> ../init.d/dhcp3-server
lrwxrwxrwx 1 root root 14 Feb 13 2003 S20exim ->
../init.d/exim
lrwxrwxrwx 1 root root 13 Feb 13 14:20 S20gpm ->
../init.d/gpm
lrwxrwxrwx 1 root root 15 Feb 13 2003 S20inetd ->
../init.d/inetd
lrwxrwxrwx 1 root root 13 Feb 13 14:10 S20lpd ->
../init.d/lpd
lrwxrwxrwx 1 root root 20 Feb 21 11:16 S20lsh-server ->
../init.d/lsh-server
lrwxrwxrwx 1 root root 17 Feb 13 2003 S20makedev ->
../init.d/makedev
lrwxrwxrwx 1 root root 27 Feb 13 14:10
S20nfs-kernel-server -> ../init.d/nfs-kernel-server
lrwxrwxrwx 1 root root 15 Feb 13 14:20 S20samba ->
../init.d/samba
lrwxrwxrwx 1 root root 14 Feb 17 11:30 S20slpd ->
../init.d/slpd
lrwxrwxrwx 1 root root 13 Feb 13 14:10 S20ssh ->
../init.d/ssh
lrwxrwxrwx 1 root root 13 Feb 22 18:49 S20xfs ->
../init.d/xfs
lrwxrwxrwx 1 root root 17 Feb 22 18:49 S20xfs-xtt ->
../init.d/xfs-xtt
lrwxrwxrwx 1 root root 17 Feb 17 11:36 S89anacron ->
../init.d/anacron
lrwxrwxrwx 1 root root 13 Feb 13 2003 S89atd ->
../init.d/atd
lrwxrwxrwx 1 root root 14 Feb 13 2003 S89cron ->
../init.d/cron
lrwxrwxrwx 1 root root 19 Feb 13 2003 S99rmnologin ->
../init.d/rmnologin
========================================================================
***** ls de /etc/rc3.d *******
========================================================================
lrwxrwxrwx 1 root root 17 Feb 17 11:36 K11anacron ->
../init.d/anacron
lrwxrwxrwx 1 root root 18 Feb 13 2003 S10sysklogd ->
../init.d/sysklogd
lrwxrwxrwx 1 root root 17 Feb 28 14:37 S11hotplug ->
../init.d/hotplug
lrwxrwxrwx 1 root root 15 Feb 13 2003 S11klogd ->
../init.d/klogd
lrwxrwxrwx 1 root root 13 Feb 13 2003 S14ppp ->
../init.d/ppp
lrwxrwxrwx 1 root root 15 Feb 13 14:10 S15bind9 ->
../init.d/bind9
lrwxrwxrwx 1 root root 16 Feb 13 14:20 S15lwresd ->
../init.d/lwresd
lrwxrwxrwx 1 root root 20 Feb 13 14:10 S19nfs-common ->
../init.d/nfs-common
lrwxrwxrwx 1 root root 14 Feb 22 19:17 S20alsa ->
../init.d/alsa
lrwxrwxrwx 1 root root 16 Feb 17 11:30 S20cupsys ->
../init.d/cupsys
lrwxrwxrwx 1 root root 22 Feb 21 11:10 S20dhcp3-server
-> ../init.d/dhcp3-server
lrwxrwxrwx 1 root root 14 Feb 13 2003 S20exim ->
../init.d/exim
lrwxrwxrwx 1 root root 13 Feb 13 14:20 S20gpm ->
../init.d/gpm
lrwxrwxrwx 1 root root 15 Feb 13 2003 S20inetd ->
../init.d/inetd
lrwxrwxrwx 1 root root 13 Feb 13 14:10 S20lpd ->
../init.d/lpd
lrwxrwxrwx 1 root root 20 Feb 21 11:16 S20lsh-server ->
../init.d/lsh-server
lrwxrwxrwx 1 root root 17 Feb 13 2003 S20makedev ->
../init.d/makedev
lrwxrwxrwx 1 root root 27 Feb 13 14:10
S20nfs-kernel-server -> ../init.d/nfs-kernel-server
lrwxrwxrwx 1 root root 15 Feb 13 14:20 S20samba ->
../init.d/samba
lrwxrwxrwx 1 root root 14 Feb 17 11:30 S20slpd ->
../init.d/slpd
lrwxrwxrwx 1 root root 13 Feb 13 14:10 S20ssh ->
../init.d/ssh
lrwxrwxrwx 1 root root 13 Feb 22 18:49 S20xfs ->
../init.d/xfs
lrwxrwxrwx 1 root root 17 Feb 22 18:49 S20xfs-xtt ->
../init.d/xfs-xtt
lrwxrwxrwx 1 root root 17 Feb 17 11:36 S89anacron ->
../init.d/anacron
lrwxrwxrwx 1 root root 13 Feb 13 2003 S89atd ->
../init.d/atd
lrwxrwxrwx 1 root root 14 Feb 13 2003 S89cron ->
../init.d/cron
lrwxrwxrwx 1 root root 13 Feb 22 12:25 S99kdm ->
../init.d/kdm
lrwxrwxrwx 1 root root 19 Feb 13 2003 S99rmnologin ->
../init.d/rmnologin
lrwxrwxrwx 1 root root 13 Feb 22 12:25 S99wdm ->
../init.d/wdm
lrwxrwxrwx 1 root root 13 Feb 22 12:25 S99xdm ->
../init.d/xdm
========================================================================
***** ls de /etc/init.d/ *******
========================================================================
-rw-r--r-- 1 root root 854 Oct 5 2001 README
-rwxr-xr-x 1 root root 6311 Apr 6 2002 alsa
-rwxr-xr-x 1 root root 703 Feb 4 2001 anacron
-rwxr-xr-x 1 root root 1074 Jan 18 2002 atd
-rwxr-xr-x 1 root root 3211 Mar 31 2002 aumix-gtk
-rwxr-xr-x 1 root root 657 Jul 2 2002 bind9
-rwxr-xr-x 1 root root 1967 Jan 25 2002 bootmisc.sh
-rwxr-xr-x 1 root root 894 Oct 5 2001 checkfs.sh
-rwxr-xr-x 1 root root 4048 Apr 8 2002 checkroot.sh
-rwxr-xr-x 1 root root 2757 Nov 11 2001
console-screen.sh
-rwxr-xr-x 1 root root 868 Mar 28 2001 cron
-rwxr-xr-x 1 root root 1397 May 30 2003 cupsys
-rwxr-xr-x 1 root root 779 Apr 8 2003 devpts.sh
-rwxr-xr-x 1 root root 1100 Jan 25 2003 dhcp3-server
-rwxr-xr-x 1 root root 599 Jan 5 2002 dns-clean
-rwxr-xr-x 1 root root 1315 Mar 5 2002 exim
-rwxr-xr-x 1 root root 1601 Feb 10 2002 gom
-rwxr-xr-x 1 root root 1473 Mar 19 2002 gpm
-rwxr-xr-x 1 root root 418 Jan 19 2002 halt
-rwxr-xr-x 1 root root 165 Feb 26 2001 hostname.sh
-rwxr-xr-x 1 root root 1230 Jan 17 2002 hotplug
-rwxr-xr-x 1 root root 3390 Jan 27 2002 hwclock.sh
-rwxr-xr-x 1 root root 3233 Jan 27 2002 hwclockfirst.sh
-rwxr-xr-x 1 root root 218 Jul 13 2001 ifupdown
-rwxr-xr-x 1 root root 1764 Nov 18 2001 inetd
-rwxr-xr-x 1 root root 3106 Apr 13 2002 iptables
-rwxr-xr-x 1 root root 484 May 19 2001 isapnp
-rwxr-xr-x 1 root root 3227 Sep 16 22:37 kdm
-rwxr-xr-x 1 root root 723 Apr 22 2002 keymap.sh
-rwxr-xr-x 1 root root 1592 Jan 3 2002 klogd
-rwxr-xr-x 1 root root 904 Mar 15 2003 lpd
-rwxr-xr-x 1 root root 1439 Apr 18 2001 lsh-server
-rwxr-xr-x 1 root root 585 Jul 2 2002 lwresd
-rwxr-xr-x 1 root root 320 Mar 29 2001 makedev
-rwxr-xr-x 1 root root 735 Sep 27 2001 modutils
-rwxr-xr-x 1 root root 896 Nov 1 2001 mountall.sh
-rwxr-xr-x 1 root root 1579 Apr 8 2002 mountnfs.sh
-rwxr-xr-x 1 root root 4042 Nov 18 2001 networking
-rwxr-xr-x 1 root root 1461 Dec 14 2001 nfs-common
-rwxr-xr-x 1 root root 1858 Dec 14 2001
nfs-kernel-server
-rwxr-xr-x 1 root root 1882 Jan 6 2000 nviboot
-rwxr-xr-x 1 root root 1070 Mar 23 2000 portmap
-rwxr-xr-x 1 root root 1116 Nov 7 2001 ppp
-rwxr-xr-x 1 root root 1013 Oct 27 2001 procps.sh
-rwxr-xr-x 1 root root 2235 Feb 26 2001 rc
-rwxr-xr-x 1 root root 1190 Apr 19 1999 rcS
-rwxr-xr-x 1 root root 197 Jun 21 1998 reboot
-rwxr-xr-x 1 root root 261 Feb 26 2001 rmnologin
-rwxr-xr-x 1 root root 2215 Apr 7 2003 samba
-rwxr-xr-x 1 root root 358 Feb 26 2001 sendsigs
-rwxr-xr-x 1 root root 3797 Nov 7 2001 setserial
-rwxr-xr-x 1 root root 499 Feb 26 2001 single
-rwxr-xr-x 1 root root 1771 Apr 8 2002 skeleton
-rwxr-xr-x 1 root root 997 Aug 8 2001 slpd
-rwxr-xr-x 1 root root 1699 Sep 19 10:07 ssh
-rwxr-xr-x 1 root root 763 Jan 2 2000 svgatextmode
-rwxr-xr-x 1 root root 1908 Jan 3 2002 sysklogd
-rwxr-xr-x 1 root root 505 Nov 6 2001 umountfs
-rwxr-xr-x 1 root root 436 Oct 5 2001 umountnfs.sh
-rwxr-xr-x 1 root root 1176 Jul 6 2001 urandom
-rwxr-xr-x 1 root root 3116 Sep 15 2001 wdm
-rwxr-xr-x 1 root root 2916 Feb 16 10:11 xdm
-rwxr-xr-x 1 root root 2413 Feb 16 10:11 xfs
-rwxr-xr-x 1 root root 2138 Mar 29 2002 xfs-xtt
More information about the gull
mailing list