Unable to configure KDM

James Richard Tyrer tyrerj at acm.org
Thu Feb 12 21:35:32 GMT 2004


Zabil Maliackal wrote:
> hello,
> 	I am running Fedora Core 1 on my system. I recently installed kde 3.2 of the 
> Rpms i downloaded from kde.org.
> 	I want to make KDM the defaukt login manager but whatever I always get GDM as 
> the display.
> 	I changed my /etc/sysconfig/desktop line DESKTOP="KDM" and also tried 
> DESKTOP="KDE"
> 	How do i check if KDM will run properly or not.

This is (or at least used to be) in the KDM manual.  To read it (some of it 
might be outdated) use this URL in Konqueror: help:/kdm

Do a console login.  Either enter "linux 3" at the LILO prompt or kill your 
Xsession and return to the console.  Login as root and execute:

	kdm

on the command line.  If it doesn't work, you should get error messages.

If it does work then the script that stands between the call on the last 
line of your: "/etc/inittab" file (something like this):

	# Run xdm in runlevel 5
	x:5:once:/etc/X11/Xstart

and calling KDM is screwing up somehow.

If you always want to run KDM, you can edit the: "/etc/inittab" file to 
match the above and add this script:

/etc/X11/Xstart
--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<
#!/bin/bash
#
exec /usr/kde3/bin/kdm
--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<

{if your path to: "kdm" is different, then change that}

If you have never written a script before, remember that it must be 
executable.  Permissions should (for this one) be root:root:755

This is considered to be the correct way to do this, but you can also put 
the command in your: "/etc/inittab" file:

	# Run xdm in runlevel 5
	x:5:once:/usr/kde3/bin/kdm

{again your path to: "kdm" might be different}

Note: "once" is what you should use on a single user system.  If this is 
for a server, then you will probably want to replace it with: "respawn".

Now that I have told you more than you probably wanted to know, do you have 
any questions about it?

--
JRT
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list