Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-10-2004, 10:26 AM   #1
LQ Newbie
Registered: Sep 2003
Location: Broomfield CO
Distribution: Mandrake 9.1/Debian Sid
Posts: 15

Rep: Reputation: 0
Moving from xdm -> kdm?

I just updated to KDE 3.2 and now I don't automatically start a KDE session on login (like it used to). Instead i booted into twm. Everytime I killed the X server it just restarted in twm again. So I removed twm and now i get a command line prompt after login, from which I can "startkde" and everything works fine. Except it opens a window called "uxterm" which, if I close it, kills the KDE session.

I searched around and found some references to "Xsession" and "xinitrc" files. I looked in my /etc/X11 folder but didn't see anything in those files that indicated what the default desktop environment would be. I did edit the file default_display_manager to point to kdm instead of xdm.

Now when I boot an error message flashes that its unable to start xdm or kdm because they are not the default display managers. I login. As root I can start kdm. But after logging in it just kicks me to the uxterm thing mentioned above.

Summary: I want my machine to load KDE automatically at startup. Any suggestions on how to get this to happen?
Old 03-10-2004, 11:13 AM   #2
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 37
Post the contents of these files:
so we can see how your distro is handling things
Old 03-10-2004, 01:33 PM   #3
LQ Newbie
Registered: Sep 2003
Location: Broomfield CO
Distribution: Mandrake 9.1/Debian Sid
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks for the response. Here's the inittab:

# /etc/inittab: init(8) configuration.
# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $

# The default runlevel.

# Boot-time system configuration/initialization script.
# This is run first except when booting in emergency (-b) mode.

# What to do in single-user mode.

# /etc/init.d executes the S and K scripts upon change
# of runlevel.
# Runlevel 0 is halt.
# Runlevel 1 is single-user.
# Runlevels 2-5 are multi-user.
# Runlevel 6 is reboot.

l0:0:wait:/etc/init.d/rc 0
l1:1:wait:/etc/init.d/rc 1
l2:2:wait:/etc/init.d/rc 2
l3:3:wait:/etc/init.d/rc 3
l4:4:wait:/etc/init.d/rc 4
l5:5:wait:/etc/init.d/rc 5
l6:6:wait:/etc/init.d/rc 6
# Normally not reached, but fallthrough in case of emergency.

# What to do when CTRL-ALT-DEL is pressed.
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now

# Action on special keypress (ALT-UpArrow).
#kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work."

# What to do when the power fails/returns.
pf::powerwait:/etc/init.d/powerfail start
pn::powerfailnow:/etc/init.d/powerfail now
po::powerokwait:/etc/init.d/powerfail stop

# /sbin/getty invocations for the runlevels.
# The "id" field MUST be the same as the last
# characters of the device (after "tty").
# Format:
# <id>:<runlevels>:<action>:<process>
# Note that on most Debian systems tty7 is used by the X Window System,
# so if you want to add more getty's go ahead but skip tty7 if you run X.
1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6

# Example how to put a getty on a serial line (for a terminal)
#T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
#T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100

# Example how to put a getty on a modem line.
#T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3


And here's the xinitrc:

# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $

# /etc/X11/xinit/xinitrc
# global xinitrc file, used by all X sessions started by xinit (startx)

# invoke global X session script
. /etc/X11/Xsession


Thanks in advance!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
xdm and kdm jupiter3437 Linux - Software 2 08-30-2005 07:56 PM
make move from XDM to KDM, how??? Lleb_KCir Linux - Software 10 12-04-2004 11:34 AM
gdm, kdm, xdm daemons, which do I need? Feldon Linux - Software 5 10-16-2004 10:56 PM
kdm/xdm question raven Linux - Software 3 11-14-2002 12:10 PM
xdm to kdm echto Linux - Software 3 01-11-2002 04:23 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:27 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration