Alex Schuster ha scritto:
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
The output is nothing.
But if I run
cat /var/lib/init.d/options/xdm/service
the output is: /usr/kde/3.4/bin/kdm (yes, I should upgrade kde)
/var/lib/init.d/options/xdm/pidfile and
/var/lib/init.d/options/xdm/name are empty
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}"
Here is the output:
+++ save_options name ''
+++ local myopts=name
+++ shift
+++ '[' '!' -d /var/lib/init.d/options/xdm ']'
+++ mkdir -p -m 0755 /var/lib/init.d/options/xdm
+++ echo ''
+++ return 0
+++ save_options pidfile ''
+++ local myopts=pidfile
+++ shift
+++ '[' `!' -d /var/lib/init.d/options/xdm ']'
+++ echo ''
+++ return 0
+++ '[' -n 7 ']'
+++ vtstatic 7
+++ '[' -e /etc/inittab ']'
+++ grep -Eq '^[^#]+.*\<tty7\>' /etc/inittab
+++ /etc/X11/startDM.sh
+++ 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
+++ eend 0
+++ local retval=0
+++ shift
+++ _eend 0 eerror ''
+++ local retval=0 efunc=eerror msg
+++ shift 2
+++ [[ 0 == 0 ]]
+++ [[ no == yes ]]
+++ msg='[ ok ]'
+++ [[ yes == yes ]]
'++ echo -e'
+++ return 0
+++ LAST_E_CMD=eend
+++ return 0
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