Click to See Complete Forum and Search --> : how do I use kdm instead of xdm?
Ludootje
03-13-2002, 01:09 PM
I have suse7.3 and have both kdm and xdm installed. I currently have xdm to login, but don't like it, anyone knows how I can switch it to kdm?
I think it's something in /etc/inittab, but since I don't want to brake my system I prefer to ask you people where and what to change.
Thanks.
uriah.k
03-13-2002, 06:28 PM
I don't know man, but maybe this copy of my rc.4 script wil
help: #Tell the viewers what's going to happen...
echo "Starting up X11 session manager..."
# KDE's kdm is the default session manager. If you've got this, it's the
# one to use.
if [ -x /opt/kde/bin/kdm ]; then
exec /opt/kde/bin/kdm -nodaemon
# GNOME's session manager is another choice:
elif [ -x /opt/gnome/bin/gdm ]; then
exec /opt/gnome/bin/gdm -nodaemon
# If all you have is XDM, I guess it will have to do:
elif [ -x /usr/X11R6/bin/xdm ]; then
exec /usr/X11R6/bin/xdm -nodaemon
fi
Thats not the whole script, but is the only part that deals with a *dm. My comp runs slackware 8.0 btw. It might be of no use, but
maybe you could set up a similar thing inside /etc/rc.d/rc4.d/rc.whatever
Toi Mak
03-14-2002, 12:50 AM
Just a simple edit of /etc/inittab. Look at the last lines of the file anf you should see something like:
x:5:respawn:/usr/X11R6/lib/X11/bin/xdm -nodaemon
Comment that line out (don't delete it, you may want to use it again) and add a new line below replacing the path to xdm with the path to kdm on your system. On my new KDE3 install it's:
x:5:respawn:/usr/local/kde/bin/kdm -nodaemon
Flamester
03-14-2002, 12:27 PM
For SuSE 7.3, fire up YaST2 as root (or superuser).
There's an "edit rc.config" tool in there somewhere (I'm not on my own comp at the moment and can't check).
At any rate, one of the variables you can change is DISPLAYMANAGER. Change it from xdm to kdm.
Check the SuSE reference manual, page 321, for added details on rc.config if you have it.
Ludootje
03-15-2002, 02:20 PM
Thanks for the help everyone. I'll check out that thing with yast2, and if I can't find it I'll change the line manually.
I don't have the suse manual, I did the ftp install.