[CentOS] CentOS 6: Making KDE Default

Wed Sep 7 21:35:15 UTC 2011
Jeremy Sanders <jeremy at jeremysanders.net>

Michael D. Berger wrote:

> I learned from Anne that if I boot to level
> 5, after I enter the username, can select
> Gnome or KDE.  I note that the default is
> always Gnome.
> 
>    How can I make the default KDE?
> 
>    How can I get KDE with startx after booting to level 3?

Assuming it is the same as fedora, put the lines

DESKTOP="KDE"
DISPLAYMANAGER="KDE"

in /etc/sysconfig/desktop to change it for all users.

Jeremy