[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: starting X at boot



i think i found the problem,if i do a cat /etc/init.d/xdm,there's nothing
who's writen on screen but if i do a cat /etc/init.d/xdm.dpkg-dist,then i
have this output (it will be shown after my message),does it's possible
that dpkg failed to update the /etc/init.d/xdm ???

Alain

--------------/etc/init.d/xdm.dpkg-dist----------------------------
#!/bin/sh
# /etc/init.d/xdm: start or stop XDM.

test -x /usr/bin/X11/xdm || exit 0

test -f /etc/X11/config || exit 0

if grep -q ^xbase-not-configured /etc/X11/config
then
  exit 0
fi

run_xdm=0
if grep -q ^start-xdm /etc/X11/config
then
  run_xdm=1
fi

case "$1" in
  start)
    if [ $run_xdm = 1 ]
    then
      start-stop-daemon --start --verbose --exec /usr/bin/X11/xdm
    fi
    ;;
  stop)
    if [ $run_xdm = 1 ]
    then
      start-stop-daemon --stop --verbose --pidfile /var/run/xdm-pid \
	--exec /usr/bin/X11/xdm
    fi
    ;;
  *)
    echo "Usage: /etc/init.d/xdm {start|stop}"
    exit 1
esac

exit 0



--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: