LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   How to switch between gdm and kdm? (https://www.linuxquestions.org/questions/debian-26/how-to-switch-between-gdm-and-kdm-122199/)

eaglegst 12-03-2003 02:57 AM

How to switch between gdm and kdm?
 
Is there a easy way to do that?
Thanks

Y0jiMb0 12-03-2003 03:32 AM

Hi!
Check the file "/etc/inittab"; there you can see what is the default runlevel of your system; let's suppose it is "runlevel 4", then go to the "rc.d/rc.4" (somewhere inside "/etc/") and there you will see something like
Code:

# Tell the viewers what's going to happen...
echo "Starting up X11 session manager..."

# Try to use GNOME's gdm session manager:
if [ -x /usr/bin/gdm ]; then
  exec /usr/bin/gdm -nodaemon
fi

# Not there?  OK, try to use KDE's kdm session manager:
if [ -x /opt/kde/bin/kdm ]; then
  exec /opt/kde/bin/kdm -nodaemon
fi

you only have to switch them over.
Regards

eaglegst 12-03-2003 04:23 AM

Thanks a lot, but I just found an easier way.
Go to /etc/X11/, there is a file called default-display-manager sleeping there.
Wake it up and it will do the job. ^_^

Hope it could help others who have similar question.
: )

Y0jiMb0 12-03-2003 04:28 AM

Hmmm, interesting; I don't have this file. :scratch:
It must be debian specific... (I use debian but in a 486, whitout X, so I have no idea)
Regards

*IP* 12-04-2003 11:31 AM

The easy way:

dpkg-reconfigure gdm

Because that I love debian.

HappyTux 12-04-2003 12:24 PM

Re: How to switch between gdm and kdm?
 
Quote:

Originally posted by eaglegst
Is there a easy way to do that?
Thanks

update-alternatives --config x-session-manager


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