Click to See Complete Forum and Search --> : default login manager
av8or
05-16-2001, 11:34 AM
How do you change the default login manager in RH7.1? I don't really like the Gnome login manager and would like to change it to something else. How can I do this. I went into the Control Center, clicked on System and then clicked on Login Manager. I changed it to several different options and rebooted but it didn't change the login manager. What to do?
demian
05-16-2001, 02:11 PM
You need to change the link to gdm in the rcX.d directories. First get your default runlevel:
cat /etc/inittab |grep initdefault
For me this is 2 which I will use in the following example. Now change to /etc/rc2.d (that's where it's located in debian, it might be elsewhere in RH). There is a link in this directory called S##gdm (## being a two digit number) which points to gdm remove this link and replace it with one to [x|k]dm. Name it with the same prefix that the one to gdm had. Example:
root@hamilton:/etc/rc2.d # ls -la *gdm
lrwxrwxrwx 1 root root 13 May 4 16:41 S99gdm -> ../init.d/gdm
root@hamilton:/etc/rc2.d # rm ./S99gdm
root@hamilton:/etc/rc2.d # ln -s ../init.d/xdm ./S99xdm
(Again the directories might differ on RH). That should be it. There might be a config tool in RH that does the same by pointing and clicking but this is what I would do.
[ 16 May 2001: Message edited by: demian ]