LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-16-2007, 02:33 AM   #1
rundarm
LQ Newbie
 
Registered: Jun 2004
Location: La Crosse, WI
Distribution: Red Hat Fedora Core 5 & 6
Posts: 22

Rep: Reputation: 15
Question How to switch from GDM to KDM in Fedora Core 6?


Hello
Initially I installed Fedora Core 6 without KDE.
I then used YUM to install KDE.
kdm and gdm both exist on the computer.
I read on the forums about modifying the file /etc/sysconfig/desktop
This file on my machine was initially just a 0 byte sized file.
I changed my /etc/sysconfig/desktop file to the following
DESKTOP="KDE"
DISPLAYMANAGER="KDM"

when I logged in gdm was still in the process listing (ps aux).
So I am lost at how I change from gdm to kdm?
Thanks in advance.
Greg Manhart
 
Old 03-16-2007, 03:31 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Well, that should have changed the default login manager to KDM and the desktop to KDE. Is GDM just in the list of processes or is it still the login manager? By the way, did you reboot or restart X after making the changes?
 
Old 03-16-2007, 03:38 AM   #3
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
A small syntax error, I believe:
I have (also FC6)
DISPLAYMANAGER=KDE

The desktop is for each user to select, default stored in ~/.dmrc:
[pingu@killbill ~]$ cat .dmrc
[Desktop]
Session=kde
 
Old 03-16-2007, 03:58 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Ahh, you are right Pingu. I hadn't even noticed the syntax error.
 
Old 03-16-2007, 12:50 PM   #5
darthpyro42
LQ Newbie
 
Registered: Mar 2007
Location: Nevada, USA
Distribution: Slackware
Posts: 12

Rep: Reputation: 0
From what I learned doing the Linux from Scratch project, I believe you need to change your /etc/inittab file. The page on X Window System configuration is here:
http://www.linuxfromscratch.org/blfs...x/x-setup.html

Now the line somewhere toward the middle of the page is about "xdm" which is the program that comes with X, while "kdm" obviously comes with KDE and is probably somewhat different, but I'm sure they are similar. The line needs to be something like this:

Code:
x:5:respawn:/usr/X11R6/bin/xdm -nodaemon
except replace xdm with kdm. I'd give you my own configuration except Xubuntu has a somewhat non-standard init configuration, i.e. /etc/inittab does not exist. Try reading the manual on kdm to see exactly what you need to put there in the inittab. Hope this helps!
 
Old 03-18-2007, 09:55 PM   #6
rundarm
LQ Newbie
 
Registered: Jun 2004
Location: La Crosse, WI
Distribution: Red Hat Fedora Core 5 & 6
Posts: 22

Original Poster
Rep: Reputation: 15
Well Pingu was right that is what I needed but that made it so kde wouldnt start up at all. I can going to have to look at the logs sometime and if I cant figure it out I will post in a new thread.
Thanks
Greg Manhart
 
Old 03-19-2007, 02:51 AM   #7
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
Maybe you're having the same problem as I have?
gdm works, kdm shows login screen but can't start kde - some strange keymap errors?
If you have any success, please post what you did!
 
Old 03-19-2007, 08:46 AM   #8
dasy2k1
Member
 
Registered: Oct 2005
Location: 127.0.0.1
Distribution: Manjaro
Posts: 963

Rep: Reputation: 36
if you use teh graphical logon
just go to wehre you logon, then atr teh bottom of the screen there is an options (or simaliar) button...

click it then choose KDE form the list.

it will ask when you log on if you want to make KDE defaut, hit ok and it has done all the hard work for you
 
Old 04-21-2007, 01:20 PM   #9
echat
Member
 
Registered: Nov 2006
Distribution: Kubuntu 9
Posts: 34

Rep: Reputation: 16
Re::

Ok, but how do you start KDM instead of GDM.? I know in fc5 it was in rc.conf but that didnt work either did
Code:
 $ sudo echo 'DISPLAYMANAGER="KDE"
 > DESKTOP="KDE"'>/etc/sysconfig/desktop
anyone have the answer to this puzzle.?

Last edited by echat; 04-21-2007 at 01:22 PM.
 
Old 04-21-2007, 01:37 PM   #10
echat
Member
 
Registered: Nov 2006
Distribution: Kubuntu 9
Posts: 34

Rep: Reputation: 16
HAHA, I am a moron. Maybe I should try alt options before I post stupid questions.

I added the lines to desktop file in sysconfig and restarted X but no KDM. I then rebooted and po0f there it was. I never had to reboot beofre but I should of done that before I replied. sorry.
 
  


Reply



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
How to switch between gdm and kdm? eaglegst Debian 5 12-04-2003 12:24 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 - Software

All times are GMT -5. The time now is 08:26 AM.

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