Q. How do I change default desktop / display manager under CentOS or Fedora Linux? I'd like to change default GNOME to KDE as desktop manager for all users.
A. There is a configuration file called /etc/sysconfig/desktop. This file defines default display manager and desktop name.
Display manager can be any one of the following:
[a] gnome (gdm)
[b] kde (kdm)
[c] xdm (xdm)
Desktop can be any one of the following
[a] KDE
[b] GNOME
[c] XFCE
Change Desktop from Gnome to Kde
Open /etc/sysconfig/desktop file:
# vi /etc/sysconfig/desktop
Set DESKTOP variable to kde:
DESKTOP="KDE"
DISPLAYMANAGER="KDE"
Save and close the file.
Now kde will be used for all users as desktop system. You can also accomplish this on a per-user basis by using the desktop switcher application from the extra preferences menu, or just type the command:
$ switchdesk kde
See also:
=> Quick way to switch from KDE to GNOME or viceversa
You should follow me on twitter here or grab rss feed to keep track of new changes.
Featured Articles:
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop














{ 1 comment… read it below or add one }
Im pretty sure you have to change the display manager to kdm
desktop=kde
display manager=kdm
you were on the right track, I just rememeber when I changed it last that I had to change the diplay manager to kdm and not kde, but that was in Suse
let me know if I’m wrong