Re: [gentoo-user] kdm does not start on boot

2007-10-18 Thread econti

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

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)"
  

Well, to-day I made the following attempts:

hard coded the path to kdm in /etc/X11/startDM.sh, so the previuos line 
became:


EXEC="/usr/kde/3.4/bin/kdm
and kdm starts on boot. Then I tried also:

EXEC="$(cat /var/lib/init.d/options/xdm/service)"

and this works too!

Conclusion: it is $(get_options service) that does not work correctly 
after upgrading xorg.


Emilio


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kdm does not start on boot

2007-10-17 Thread econti

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 '^[^#]+.*\' /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



Re: [gentoo-user] kdm does not start on boot

2007-10-16 Thread Peter Alfredsen
On Tuesday 16 October 2007, econti wrote:

> It does not work! ;-(
> DISPLAYMANAGER was already set to kdm
> In my opinion the trouble is in /etc/X11/startDM.sh,  but I do not know
> where.

Try to do:
emerge -1 baselayout
I vaguely remember something about xinit and baselayout being dependent on 
having been reemerged in the right order.

-- 
/PA
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kdm does not start on boot

2007-10-16 Thread Alex Schuster
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



Re: [gentoo-user] kdm does not start on boot

2007-10-16 Thread econti

Patrick Holthaus ha scritto:

Hey!

  

There's no way to set the DM in Xorg's config. The DM is set in
/etc/conf.d/rc (or was it /etc/rc.conf?).



It should be /etc/conf.d/xdm

DISPLAYMANAGER="kdm"

Patrick

  

It does not work! ;-(
DISPLAYMANAGER was already set to kdm
In my opinion the trouble is in /etc/X11/startDM.sh,  but I do not know 
where.


Emilio

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kdm does not start on boot

2007-10-16 Thread Dirk Heinrichs
Am Dienstag, 16. Oktober 2007 schrieb Patrick Holthaus:
> Hey!
>
> > There's no way to set the DM in Xorg's config. The DM is set in
> > /etc/conf.d/rc (or was it /etc/rc.conf?).
>
> It should be /etc/conf.d/xdm
>
> DISPLAYMANAGER="kdm"

Oh, yes. Forgot that it was moved to this file a while ago.

Bye...

Dirk



signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] kdm does not start on boot

2007-10-16 Thread Patrick Holthaus
Hey!

> There's no way to set the DM in Xorg's config. The DM is set in
> /etc/conf.d/rc (or was it /etc/rc.conf?).

It should be /etc/conf.d/xdm

DISPLAYMANAGER="kdm"

Patrick



signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] kdm does not start on boot

2007-10-16 Thread derrickdb1
>From looking at my system, I have:
DISPLAYMANAGER="gdm"
in the /etc/conf.d/xdm file.  If you change yours to kdm instead of gdm and 
make sure it's in the run levels:
rc-update add xdm default

Unless I'm missing something, that should work.

 -- Original message --
From: econti <[EMAIL PROTECTED]>
> 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?
> 
> Ciao
> emilio
> 
> -- 
> [EMAIL PROTECTED] mailing list
> 

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kdm does not start on boot

2007-10-16 Thread Dirk Heinrichs
Am Dienstag, 16. Oktober 2007 schrieb Isaiah Dunham:

> Did you make sure KDM is set as the Display Manager in Xorg config?

There's no way to set the DM in Xorg's config. The DM is set in /etc/conf.d/rc 
(or was it /etc/rc.conf?).

Bye...

Dirk


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] kdm does not start on boot

2007-10-16 Thread Isaiah Dunham
Did you make sure KDM is set as the Display Manager in Xorg config? I 
Had this problem once before awhile ago, and that was the solution to 
the problem.



econti wrote:

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?

Ciao
emilio




--
Isaiah Dunham
IT Coordinator
Clarion Bathware
814-782-3016 ext 106

--
[EMAIL PROTECTED] mailing list



[gentoo-user] kdm does not start on boot

2007-10-16 Thread econti

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?

Ciao
emilio

--
[EMAIL PROTECTED] mailing list