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



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 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 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 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 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 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 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 will not start

2005-12-03 Thread Joseph
On Sat, 2005-12-03 at 18:35 -0700, Joseph wrote:
 I can not seem to load kdm.
 
 I have in /etc/rc.conf:
 DISPLAYMANAGER=kdm
 XSESSION=kde-3.4
 
 xdm |  default
 
 What else to try?
 
 -- 
 #Joseph
-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] kdm will not start

2005-12-03 Thread Dale
Joseph wrote:


SOLVED.
One of those silly human errors. It appears I had kdm already running in
one of the session, so it wouldn't restart again.
CTRL-ALT-DEL solved the problem.
  

Oh crap, that sounds to much like windoze.  /etc/init.d/xdm restart
would have fixed that.  You didn't have to reboot, even though it worked
too.  o_O

Dale
:-)

-- 
To err is human, I'm most certainly human.

 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] kdm will not start

2005-12-03 Thread Glenn Enright
On Sunday 04 December 2005 17:27, Joseph wrote:

 Now, I'm fighting with kpdf, as it tries to print on A4 instead of
 letter format.

In the kde Control Center, go to 
Reigonal Accesibility - Country/Reigon Layout
select the tab Misc
Choose the paper format you prefer. Be aware this is the default setting for 
kde and not just kpdf.

-- 
You know you're using the computer too much when:
you use 'u' instead of 'you' in the first place.
-- thebell
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] kdm will not start

2005-12-03 Thread Joseph
On Sun, 2005-12-04 at 18:32 +1300, Glenn Enright wrote:
 On Sunday 04 December 2005 17:27, Joseph wrote:
 
  Now, I'm fighting with kpdf, as it tries to print on A4 instead of
  letter format.
 
 In the kde Control Center, go to 
   Reigonal Accesibility - Country/Reigon Layout
   select the tab Misc
 Choose the paper format you prefer. Be aware this is the default setting for 
 kde and not just kpdf.

I have it letter in there.
Though, I'm thinking that it must have something to do with the way xpdf
is compiled.  The variable psPaperSize match is not compiled and/or
correctly compiled to xpdf.

-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] kdm will not start

2005-12-03 Thread Glenn Enright
On Sunday 04 December 2005 19:07, Joseph wrote:
  In the kde Control Center, go to
  Reigonal Accesibility - Country/Reigon Layout
  select the tab Misc
  Choose the paper format you prefer. Be aware this is the default setting
  for kde and not just kpdf.

 I have it letter in there.
 Though, I'm thinking that it must have something to do with the way xpdf
 is compiled.  The variable psPaperSize match is not compiled and/or
 correctly compiled to xpdf.

What format (ps, pdf, etc) are the files you are trying to print in?
-- 
Fortune's graffito of the week (or maybe even month):

Don't Write On Walls!

   (and underneath)

You want I should type?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] kdm will not start

2005-12-03 Thread Nick Rout
On Sat, 03 Dec 2005 23:36:19 -0700
Joseph [EMAIL PROTECTED] wrote:

 On Sun, 2005-12-04 at 19:33 +1300, Glenn Enright wrote:
  On Sunday 04 December 2005 19:07, Joseph wrote:
In the kde Control Center, go to
Reigonal Accesibility - Country/Reigon Layout
select the tab Misc
Choose the paper format you prefer. Be aware this is the default setting
for kde and not just kpdf.
  
   I have it letter in there.
   Though, I'm thinking that it must have something to do with the way xpdf
   is compiled.  The variable psPaperSize match is not compiled and/or
   correctly compiled to xpdf.
  
  What format (ps, pdf, etc) are the files you are trying to print in?
 
 I'm trying to print from PS postscript to my printer, the command that
 the program is using sql-ledger is: lpr -P-printer_name
 I think postscript is using xpdf as well isn't it?

What the hell has xpdf got to do with any of this? Unless I am missing
something, you are printing a ps document to the printer. Where does
pdf fit into this?

 
 -- 
 #Joseph
 -- 
 gentoo-user@gentoo.org mailing list
 
-- 
gentoo-user@gentoo.org mailing list