LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-16-2015, 09:57 AM   #1
hnasr2001
Member
 
Registered: Nov 2012
Posts: 98

Rep: Reputation: Disabled
make KDE as default desktop in Centos 6.4


I used yum groupinstall "KDE desktop" "X Window System"

I modified the /etc/sysconfig/desktop to include the following two lines;
DESKTOP = "KDE"
DISPLAYMANAGER = "KDE"

Also I verified the content of the /etc/X11/prefdm file which I include below.

after reboot still my default desktop is gnome!

Any help on how to change it to KDE?

Thank you
___________________________________________________________________________
#!/bin/sh

PATH=/sbin:/usr/sbin:/bin:/usr/bin

# We need to source this so that the login screens get translated
[ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n

# Run preferred X display manager
quit_arg=
preferred=
if [ -f /etc/sysconfig/desktop ]; then
. /etc/sysconfig/desktop
if [ "$DISPLAYMANAGER" = GNOME ]; then
preferred=/usr/sbin/gdm
quit_arg="--retain-splash"
elif [ "$DISPLAYMANAGER" = KDE ]; then
preferred=/usr/bin/kdm
.
.
.



____________________________________________________________________________
 
Old 01-16-2015, 10:10 AM   #2
cepheus11
Member
 
Registered: Nov 2010
Location: Germany
Distribution: Gentoo
Posts: 286

Rep: Reputation: 91
Maybe the last session preference is still remembered for the user account you are testing with. Is there a file

Code:
~/.dmrc
?

If it is there, try deleting it or moving it out of the way while the user is not logged in graphically, and try again.
 
Old 01-16-2015, 10:57 AM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
also with 6.4 you are going to have MANY MANY near unsolvable problems
6.4 is UNSUPPORTED !!! DO NOT USE!!!

upgrade to 6.6 FIRST !!!
then worry about the KDE desktop

Code:
su -
yum --releasever=6.6 upgrade

also on the GDM login screen AFTER you type in your user name a option becomse avaliable to SET the desktop

select kde in the pop up menu

Last edited by John VV; 01-16-2015 at 11:00 AM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I set the default desktop to KDE in CentOS 6.4? PeterSteele Red Hat 7 03-21-2013 08:58 AM
[SOLVED] Wish to make Windows the default OS instead of Centos 5.5 infinite_scale Linux - Newbie 13 07-08-2011 08:02 AM
How to make KDE my default on CentOS kencl Linux - Newbie 4 11-13-2005 10:18 AM
how do I make KDE my default desktop ./usr/stevo Fedora 3 04-06-2005 12:31 PM
9.2 make KDE default?? c_olin3404 Mandriva 7 01-08-2004 06:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:38 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