You are not logged in.

#1 2007-04-05 04:28:22

collinm
Member
Registered: 2007-01-26
Posts: 31

xdm and kdm

hi

i use kde and i would like to use kdm

in error.log i get
Can't lock pid file /var/run/kdm.pid, another xdm is running (pid 5639)

ps aux don't return me xdm

in inittab i have
x:5:respawn:/opt/kde/bin/kdm -nodaemon

do I need to remove xdm?


thanks

Offline

#2 2007-04-05 04:32:52

raymano
Member
Registered: 2006-10-13
Posts: 357
Website

Re: xdm and kdm

I think you come from a Fedora/RedHat back ground. In arch you don't specify kdm in inittab. kdm is as a service (rc script). Just add kdm to the DAEMONS line in /etc/rc.conf.

For example:

DAEMONS=(syslog-ng network hal kdm)

Last edited by raymano (2007-04-05 04:33:39)


FaunOS: Live USB/DVD Linux Distro: http://www.faunos.com

Offline

#3 2007-04-05 08:27:35

TheGrudge
Member
Registered: 2006-06-15
Posts: 206
Website

Re: xdm and kdm

You can change your inittab to:

x:5:respawn:/opt/kde/bin/kdm -nodaemon

and deinstall xdm.

Its true that kdm is a service, but then you will loose the benefit of having different runlevels. If you use kdm as a service it will be started in Level 3 and 5.
I use the above solution, but of course you can put it as a service in the DAEMONS variable.

Last edited by TheGrudge (2007-04-05 08:29:32)


digiKam developer - www.digikam.org

Offline

#4 2007-04-05 11:39:13

n8schicht
Member
From: Südbaden
Registered: 2006-12-27
Posts: 138
Website

Re: xdm and kdm

The german Arch Wiki also advises to change the /etc/inittab:

http://wiki.archlinux.de/?title=Kde#Einrichten_von_KDM

Works great for me  wink

Offline

#5 2007-04-05 16:06:06

collinm
Member
Registered: 2007-01-26
Posts: 31

Re: xdm and kdm

TheGrudge wrote:

You can change your inittab to:

x:5:respawn:/opt/kde/bin/kdm -nodaemon

and deinstall xdm.

Its true that kdm is a service, but then you will loose the benefit of having different runlevels. If you use kdm as a service it will be started in Level 3 and 5.
I use the above solution, but of course you can put it as a service in the DAEMONS variable.

my initab it's already
x:5:respawn:/opt/kde/bin/kdm -nodaemon

if i put kdm in the rc.conf file, i can comment all login manger in inittab?

Offline

#6 2007-04-05 18:11:47

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: xdm and kdm

"In arch you don't specify kdm in inittab."
this is not true
option 1)
/etc/inittab
id:5:initdefault:
..........................
..........................
x:5:respawn:/opt/kde/bin/kdm

no need to add nodaemon (as described long time ago at kde)

option 2)
/etc/inittab
id:5:initdefault:

/etc/rc.conf
DAEMONS=(@kdm ....)

option 1) for orthodox
option 2)
faster (much)

Offline

#7 2007-04-05 18:53:11

raymano
Member
Registered: 2006-10-13
Posts: 357
Website

Re: xdm and kdm

broch wrote:

"In arch you don't specify kdm in inittab."
this is not true
option 1)
/etc/inittab
id:5:initdefault:
..........................
..........................
x:5:respawn:/opt/kde/bin/kdm

no need to add nodaemon (as described long time ago at kde)

option 2)
/etc/inittab
id:5:initdefault:

/etc/rc.conf
DAEMONS=(@kdm ....)

option 1) for orthodox
option 2)
faster (much)

OK. Maybe I need to rephrase what I said. In Arch you don't need to specify kdm in inittab. I do it as a service. But you can do it also the way that has been recommended above.

Sorry for the confusion.


FaunOS: Live USB/DVD Linux Distro: http://www.faunos.com

Offline

#8 2007-04-05 19:51:21

collinm
Member
Registered: 2007-01-26
Posts: 31

Re: xdm and kdm

so if i use option 2, i can comments all line about login manager

Offline

#9 2007-04-05 20:07:38

grizz
Member
Registered: 2007-03-14
Posts: 49
Website

Re: xdm and kdm

You can even left 3 run level


http://galeria.firlej.org 
Voiceless it cries,Wingless flutters,Toothless bites,Mouthless mutters.
http://grizz.pl

Offline

#10 2007-04-05 22:36:50

collinm
Member
Registered: 2007-01-26
Posts: 31

Re: xdm and kdm

TheGrudge wrote:

You can change your inittab to:

x:5:respawn:/opt/kde/bin/kdm -nodaemon

and deinstall xdm.

Its true that kdm is a service, but then you will loose the benefit of having different runlevels. If you use kdm as a service it will be started in Level 3 and 5.
I use the above solution, but of course you can put it as a service in the DAEMONS variable.

xdm can't be deinstalled because they seem to be usefull for xorg-client.....

Offline

Board footer

Powered by FluxBB