LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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

Reply
 
Search this Thread
Old 01-09-2003, 05:52 PM   #1
bkeating
Member
 
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511

Rep: Reputation: 30
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
 
Old 01-09-2003, 06:25 PM   #2
Jadrano
LQ Newbie
 
Registered: Nov 2001
Location: Basel, Switzerland
Distribution: SuSE Linux 8.1
Posts: 9

Rep: Reputation: 0
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.)
 
Old 01-09-2003, 09:26 PM   #3
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
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
 
Old 01-09-2003, 09:49 PM   #4
bkeating
Member
 
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511

Original Poster
Rep: Reputation: 30
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
 
Old 01-10-2003, 03:25 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
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
 
Old 01-10-2003, 08:39 AM   #6
flashingcurser
Member
 
Registered: Jan 2003
Distribution: many win/nix/mac
Posts: 259

Rep: Reputation: 31
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.
 
Old 01-12-2003, 05:08 AM   #7
bkeating
Member
 
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511

Original Poster
Rep: Reputation: 30
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
 
Old 01-12-2003, 05:14 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
yeah i saw that variable in the prefdm script but could't see where it was meant to be sourced from...

Cool
 
Old 01-13-2003, 01:04 AM   #9
hatrisc
LQ Newbie
 
Registered: Jan 2003
Distribution: slack
Posts: 21

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


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 On
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 04:52 PM
KDM to GDM...how to switch? oRg Linux - Newbie 6 05-17-2004 11:12 PM
How to switch between gdm and kdm? eaglegst Debian 5 12-04-2003 01:24 PM
Howto update KDE and howto switch off kdm/gdm Canaris Linux - Software 1 06-15-2003 09:40 PM
Switch from gdm to kdm kvikki Slackware 7 04-08-2003 10:53 PM


All times are GMT -5. The time now is 11:44 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration