Bonsoir,
Je ne sais plus ou j'ai p�ch� cela mais il faut mettre cela dans /etc/inittab.
Voici la fin de mon inittab

#x:5:respawn:/etc/X11/prefdm -nodaemon
x:5:respawn:/opt/kde3/bin/kdm -nodaemon

Ancienne ligne comment�e et nouvelle ajout�e.
J'esp�re que cela r�pond.
Ah, il faut rebooter si je me souviens bien.
Bonne soir�e
Pascal GARCIA




On Sat, 18 May 2002 19:14:45 +0200
"Nicolas DEGAND" <[EMAIL PROTECTED]> wrote:

> J'ai d�sinstall� et r�install� KDE 3, mais maintenant j'ai xdm
> � la place de kdm. Alors kdm existe bel et bien mais c'est pas
> lui qui est lanc� au d�marrage. Donc je vais voir la fin de
> /etc/inittab et c'est le d�but d'une s�rie de fichiers de
> configs en cascade.
> 
> 
> 
> # Run xdm in runlevel 5
> # xdm is now a separate service
> x:5:respawn:/etc/X11/prefdm -nodaemon
> 
> 
> 
> Bon je vais donc voir ce prefdm
> 
> 
> 
> # we have to assume that /etc/sysconfig/desktop has two
> variables, DESKTOP
> # and DISPLAYMANAGER because administors may prefer a specific
> DM regardless
> # of desktops.
> # DISPLAYMANAGER is referenced by this script, and DESKTOP is
> referenced
> # as system-wide default by /etc/X11/Xsession script only when
> X-session
> # is opened by "startx" command.
> # when DMs open an X-session, they send DESKTOP, which is in
> this case
> # directly selected by users, as a commandline argument of
> /etc/X11/Xsession.
> # actually Xsession script is only able to know by existance
> of its first
> # argument whether it is called by DM or "startx". see the logic
> # in /etc/X11/Xsession.
> # If DISPLAYMANAGER is not defined, then assume that it is the
> same as DESKTOP
> preferred=
> if [ -f /etc/sysconfig/desktop ]; then
> . /etc/sysconfig/desktop >/dev/null 2>&1
> [ -z "$DISPLAYMANAGER" ] && DISPLAYMANAGER=$DESKTOP
> if [ "$DISPLAYMANAGER" = "GDM" -o "$DISPLAYMANAGER" = "gdm" -o
> "$DISPLAYMANAGER" = "GNOME" -o "$DISPLAYMANAGER" = "gnome" -o
> "$DISPLAYMANAGER" = "Gnome" ]; then
>  preferred=gdm
> elif [ "$DISPLAYMANAGER" = "KDM" -o "$DISPLAYMANAGER" = "kdm"
> -o "$DISPLAYMANAGER" = "KDE" -o "$DISPLAYMANAGER" = "kde" ]; then
>  preferred=gdm
> elif [ "$DISPLAYMANAGER" = "KDM" -o "$DISPLAYMANAGER" = "kdm"
> -o "$DISPLAYMANAGER" = "KDE" -o "$DISPLAYMANAGER" = "kde" ]; then
>  preferred=kdm
> elif [ "$DISPLAYMANAGER" = "XDM" -o "$DISPLAYMANAGER" = "xdm"
> ] ; then
>                preferred=xdm
> fi
> fi
> # xdm-like program are launched from the console, however, the
> locale-setting
> # can be done in a way that console is not localize, while X11 is.
> # That is handled by the lang.sh script, depending on the
> existance # $DISPLAY or $DESKTOP variable. Now that $DESKTOP
> is defined resour[ -z "$DESKTOP" ] &&
> DESKTOP=dummy_DESKTOP_variable
> . /etc/profile.d/lang.sh
> [ "$DESKTOP" = "dummy_DESKTOP_variable" ] && unset DESKTOP
> 
> 
> if [ -z "$preferred" ] || ! which $preferred >/dev/null 2>&1; then
>  [ -z "$preferred" ] && shouldsave=1
>  if which kdm >/dev/null 2>&1; then
>      preferred=kdm
>  elif which gdm >/dev/null 2>&1; then
> preferred=gdm
>  elif which xdm >/dev/null 2>&1; then
> preferred=xdm
>  fi
>  [ "$shouldsave" ] && [ "$preferred" != "xdm" ] && echo
> DISPLAYMANAed >> /etc/sysconfig/desktop
> fi
> if [ -n "$preferred" ]; then
> exec `which $preferred` $* >/dev/null 2>&1
> fi
> exit 1
> 
> 
> Ce que j'ai pu en comprendre avec mes connaissances tr�s
> m�diocres en bash c'est que /etc/sysconfig/desktop g�re le
> desktop manager. Or si on le regarde :
> 
> 
> DISPLAYMANAGER=kdm
> 
> 
> L� je dois avouer que je comprends rien. Si quelqu'un pouvait
> me dire que modifier pour retrouver kdm ?
> 
> Nicolas DEGAND
> 
> Acc�dez au courrier �lectronique de La Poste : www.laposte.net ; 3615 LAPOSTENET 
>(0,13 _/mn) ; t�l : 08 92 68 13 50 (0,34_/mn)"
> 
> 
> 
> 
> 

Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft?
Rendez-vous sur "http://www.mandrakestore.com";

Répondre à