econti writes:

> Hi all
> to-day I successfully updated Xorg (from 6.x to 7.x).
> A little trouble only; on boot I receive the following error message:
>
> Setting up kdm . . .
> start-stop-daemon: option `--exec' requires an argument
> Try `start-stop-daemon --help' for more information
> *ERROR: could not start the Display Manager
>
> Well, I tried `start-stop-daemon --help' but I did not understand much.
> So I ran 'kdm' from command line and . . . KDE works!
>
> How can I make kdm start on boot again?

Does this give anyy output? It should give /usr/kde/3.5/bin/kdm.
  . /lib/rcscripts/sh/rc-services.sh
  get_options service xdm

In /etc/X11/startDM.sh, in line 22, this is being used to determine what to 
start with `start-stop-daemon --exec ${EXEC} a few lines later:
  EXEC="$(get_options service)"

I think you get empty output, so EXEC is empty, and start-stop-daemon 
complains about a missing argument.

get_options reads the file /var/lib/init.d/options/xdm/service, if existing. 
It should be created by the correspnding save_options routine 
in /etc/init.d/xdm. Maybe you could add a
  set -xv
before the
  save_options "service" "${EXE}"
line in order to get useful debug output. After a quick look, I do not see 
what the problem could be there.

        Alex
-- 
[EMAIL PROTECTED] mailing list

Reply via email to