Debian This forum is for the discussion of Debian Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-03-2003, 02:57 AM
|
#1
|
Member
Registered: Dec 2003
Location: Australia
Distribution: Woody, Sarge, Sid
Posts: 83
Rep:
|
How to switch between gdm and kdm?
Is there a easy way to do that?
Thanks
|
|
|
12-03-2003, 03:32 AM
|
#2
|
Member
Registered: Jul 2003
Location: Valencia (Spain)
Distribution: slackware 11, FEDORA CORE 4, RHEL3, Gentoo...
Posts: 361
Rep:
|
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
|
|
|
12-03-2003, 04:23 AM
|
#3
|
Member
Registered: Dec 2003
Location: Australia
Distribution: Woody, Sarge, Sid
Posts: 83
Original Poster
Rep:
|
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.
: )
|
|
|
12-03-2003, 04:28 AM
|
#4
|
Member
Registered: Jul 2003
Location: Valencia (Spain)
Distribution: slackware 11, FEDORA CORE 4, RHEL3, Gentoo...
Posts: 361
Rep:
|
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
|
|
|
12-04-2003, 11:31 AM
|
#5
|
LQ Newbie
Registered: Jul 2003
Posts: 11
Rep:
|
The easy way:
dpkg-reconfigure gdm
Because that I love debian.
|
|
|
12-04-2003, 12:24 PM
|
#6
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170
|
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 07:55 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|