Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
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.
|
|
01-09-2003, 05:52 PM
|
#1
|
Member
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511
Rep:
|
How to switch from kdm to gdm?
kdm is set to load for login... I would like to use gdm instead. What conf is this directive defined?
http://art.gnome.org has some pretty slick login screen themes for gdm
|
|
|
01-09-2003, 06:25 PM
|
#2
|
LQ Newbie
Registered: Nov 2001
Location: Basel, Switzerland
Distribution: SuSE Linux 8.1
Posts: 9
Rep:
|
It probably depends on the distribution (with SuSE 8.1 a string ["kdm", "gdm", ...] is assigned in /etc/sysconfig/displaymanager, which is used in /etc/init.d/xdm for setting the exact location [/opt/kde/bin/kdm, ...]).
I'd suggest a text search for "DISPLAYMANAGER=" in /etc and subdirectories to find the relevant configuration file(s).
(Many distributions also provide a graphical tool for choosing the login manager.)
|
|
|
01-09-2003, 09:26 PM
|
#3
|
Senior Member
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127
Rep:
|
u can also do this in /etc/inittab. in RHL's inittab, it is usually in the last line of that file (the default is prefdm entry which you can change to the path of the win manager desired).
hth
|
|
|
01-09-2003, 09:49 PM
|
#4
|
Member
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511
Original Poster
Rep:
|
Running Mandrake 9.0
i do not have a /etc/sysconfig/displaymanager file or dir
and tty's are at the bottom of my inittab
|
|
|
01-10-2003, 03:25 AM
|
#5
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
well the situation here is that the actual login manager to be used is determined by the prefdm script as mentioned above. if it says you run kde then it will automatically run kdm etc...
Code:
# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6
# Run xdm in runlevel 5
# xdm is now a separate service
x:5:respawn:/etc/X11/prefdm -nodaemon
that's the bit of inittab to change. that seems to be the most appropriate place to change it, as opposed to the prefdm script itself. that's the md82 version, so you really raelly should have something similar to that
|
|
|
01-10-2003, 08:39 AM
|
#6
|
Member
Registered: Jan 2003
Distribution: many win/nix/mac
Posts: 259
Rep:
|
In slackware edit:
vim /etc/rc.d/rc.4
# out the lines with KDM
Then it will choose the next login manager. This is assuming that you have edited the inittab to use a graphical login.
Oh BTW, in slackware it's runlevel 4 for a graphical login (as oposed to RH's run lvl 5)
Last edited by flashingcurser; 01-10-2003 at 08:45 AM.
|
|
|
01-12-2003, 05:08 AM
|
#7
|
Member
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511
Original Poster
Rep:
|
GOT IT!
It's defined in the file /etc/sysconfig/desktop
shouldn't be that hard to find I remember Mandrake (same version im running) would show such options in it's 'control panel' but no longer show. weird but yup yu, asll is well! GDM mmmmmmmmm
|
|
|
01-12-2003, 05:14 AM
|
#8
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
yeah i saw that variable in the prefdm script but could't see where it was meant to be sourced from...
Cool
|
|
|
01-13-2003, 01:04 AM
|
#9
|
LQ Newbie
Registered: Jan 2003
Distribution: slack
Posts: 21
Rep:
|
aghh... i spent so much time looking for that solution one day. after reading all sorts of scripts, i finally found stupid DESKTOP="kdm" in /etc/sysconfig. i was so mad
|
|
|
All times are GMT -5. The time now is 11:29 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
|
|