LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-03-2003, 02:57 AM   #1
eaglegst
Member
 
Registered: Dec 2003
Location: Australia
Distribution: Woody, Sarge, Sid
Posts: 83

Rep: Reputation: 15
Question How to switch between gdm and kdm?


Is there a easy way to do that?
Thanks
 
Old 12-03-2003, 03:32 AM   #2
Y0jiMb0
Member
 
Registered: Jul 2003
Location: Valencia (Spain)
Distribution: slackware 11, FEDORA CORE 4, RHEL3, Gentoo...
Posts: 361

Rep: Reputation: 30
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
 
Old 12-03-2003, 04:23 AM   #3
eaglegst
Member
 
Registered: Dec 2003
Location: Australia
Distribution: Woody, Sarge, Sid
Posts: 83

Original Poster
Rep: Reputation: 15
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.
: )
 
Old 12-03-2003, 04:28 AM   #4
Y0jiMb0
Member
 
Registered: Jul 2003
Location: Valencia (Spain)
Distribution: slackware 11, FEDORA CORE 4, RHEL3, Gentoo...
Posts: 361

Rep: Reputation: 30
Hmmm, interesting; I don't have this file.
It must be debian specific... (I use debian but in a 486, whitout X, so I have no idea)
Regards
 
Old 12-04-2003, 11:31 AM   #5
*IP*
LQ Newbie
 
Registered: Jul 2003
Posts: 11

Rep: Reputation: 0
The easy way:

dpkg-reconfigure gdm

Because that I love debian.
 
Old 12-04-2003, 12:24 PM   #6
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
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
 
  


Reply


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
GDM fails on X boot: How do I switch to KDM? asdfjkl Slackware 3 10-26-2004 03:52 PM
KDM to GDM...how to switch? oRg Linux - Newbie 6 05-17-2004 10:12 PM
Howto update KDE and howto switch off kdm/gdm Canaris Linux - Software 1 06-15-2003 08:40 PM
Switch from gdm to kdm kvikki Slackware 7 04-08-2003 09:53 PM
How to switch from kdm to gdm? bkeating Linux - General 8 01-13-2003 12:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:55 PM.

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