public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] kdm does not start on boot
@ 2007-10-16 17:00 econti
  2007-10-16 17:26 ` Isaiah Dunham
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: econti @ 2007-10-16 17:00 UTC (permalink / raw
  To: gentoo help

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

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] kdm does not start on boot
  2007-10-16 17:00 [gentoo-user] kdm does not start on boot econti
@ 2007-10-16 17:26 ` Isaiah Dunham
  2007-10-16 17:36   ` Dirk Heinrichs
  2007-10-16 17:39 ` [gentoo-user] " Marc Blumentritt
  2007-10-16 20:41 ` [gentoo-user] " Alex Schuster
  2 siblings, 1 reply; 12+ messages in thread
From: Isaiah Dunham @ 2007-10-16 17:26 UTC (permalink / raw
  To: gentoo-user

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

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] kdm does not start on boot
  2007-10-16 17:26 ` Isaiah Dunham
@ 2007-10-16 17:36   ` Dirk Heinrichs
  2007-10-16 17:57     ` Patrick Holthaus
  0 siblings, 1 reply; 12+ messages in thread
From: Dirk Heinrichs @ 2007-10-16 17:36 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 257 bytes --]

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

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [gentoo-user]  Re: kdm does not start on boot
  2007-10-16 17:00 [gentoo-user] kdm does not start on boot econti
  2007-10-16 17:26 ` Isaiah Dunham
@ 2007-10-16 17:39 ` Marc Blumentritt
  2007-10-16 20:41 ` [gentoo-user] " Alex Schuster
  2 siblings, 0 replies; 12+ messages in thread
From: Marc Blumentritt @ 2007-10-16 17:39 UTC (permalink / raw
  To: gentoo-user

econti schrieb:
> How can I make kdm start on boot again?

Look at /etc/conf.d/xdm -> DISPLAYMANAGER="kdm"

rc-update add xdm default

Be sure to write xdm and not kdm!

Regards
Marc

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] kdm does not start on boot
@ 2007-10-16 17:51 derrickdb1
  0 siblings, 0 replies; 12+ messages in thread
From: derrickdb1 @ 2007-10-16 17:51 UTC (permalink / raw
  To: gentoo-user

>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 <contiemilio@alice.it>
> 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
> 
> -- 
> gentoo-user@gentoo.org mailing list
> 

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] kdm does not start on boot
  2007-10-16 17:36   ` Dirk Heinrichs
@ 2007-10-16 17:57     ` Patrick Holthaus
  2007-10-16 18:04       ` Dirk Heinrichs
  2007-10-16 19:19       ` econti
  0 siblings, 2 replies; 12+ messages in thread
From: Patrick Holthaus @ 2007-10-16 17:57 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 178 bytes --]

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


[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] kdm does not start on boot
  2007-10-16 17:57     ` Patrick Holthaus
@ 2007-10-16 18:04       ` Dirk Heinrichs
  2007-10-16 19:19       ` econti
  1 sibling, 0 replies; 12+ messages in thread
From: Dirk Heinrichs @ 2007-10-16 18:04 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 314 bytes --]

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


[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] kdm does not start on boot
  2007-10-16 17:57     ` Patrick Holthaus
  2007-10-16 18:04       ` Dirk Heinrichs
@ 2007-10-16 19:19       ` econti
  2007-10-16 20:45         ` Peter Alfredsen
  1 sibling, 1 reply; 12+ messages in thread
From: econti @ 2007-10-16 19:19 UTC (permalink / raw
  To: gentoo-user

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

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] kdm does not start on boot
  2007-10-16 17:00 [gentoo-user] kdm does not start on boot econti
  2007-10-16 17:26 ` Isaiah Dunham
  2007-10-16 17:39 ` [gentoo-user] " Marc Blumentritt
@ 2007-10-16 20:41 ` Alex Schuster
  2007-10-17 11:44   ` econti
  2007-10-18 12:52   ` econti
  2 siblings, 2 replies; 12+ messages in thread
From: Alex Schuster @ 2007-10-16 20:41 UTC (permalink / raw
  To: gentoo-user

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
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] kdm does not start on boot
  2007-10-16 19:19       ` econti
@ 2007-10-16 20:45         ` Peter Alfredsen
  0 siblings, 0 replies; 12+ messages in thread
From: Peter Alfredsen @ 2007-10-16 20:45 UTC (permalink / raw
  To: gentoo-user

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
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] kdm does not start on boot
  2007-10-16 20:41 ` [gentoo-user] " Alex Schuster
@ 2007-10-17 11:44   ` econti
  2007-10-18 12:52   ` econti
  1 sibling, 0 replies; 12+ messages in thread
From: econti @ 2007-10-17 11:44 UTC (permalink / raw
  To: gentoo-user

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
>   

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] kdm does not start on boot
  2007-10-16 20:41 ` [gentoo-user] " Alex Schuster
  2007-10-17 11:44   ` econti
@ 2007-10-18 12:52   ` econti
  1 sibling, 0 replies; 12+ messages in thread
From: econti @ 2007-10-18 12:52 UTC (permalink / raw
  To: gentoo-user

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


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2007-10-18 13:09 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-16 17:00 [gentoo-user] kdm does not start on boot econti
2007-10-16 17:26 ` Isaiah Dunham
2007-10-16 17:36   ` Dirk Heinrichs
2007-10-16 17:57     ` Patrick Holthaus
2007-10-16 18:04       ` Dirk Heinrichs
2007-10-16 19:19       ` econti
2007-10-16 20:45         ` Peter Alfredsen
2007-10-16 17:39 ` [gentoo-user] " Marc Blumentritt
2007-10-16 20:41 ` [gentoo-user] " Alex Schuster
2007-10-17 11:44   ` econti
2007-10-18 12:52   ` econti
  -- strict thread matches above, loose matches on Subject: below --
2007-10-16 17:51 derrickdb1

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox