How to change from gnome to KDE and back?

Peter Gueckel pgueckel at gmail.com
Sun Sep 4 02:33:35 UTC 2011


Vinny Onelli wrote:

> I did select the KDE also
> during the installation. at the present time I have gnome running.

You have all of KDE already installed. Simply log out and select KDE on the 
kdm selector and log back in. gdm should also give you that option.

If it doesn't work, then try this:

edit or create the file /etc/sysconfig/dekstop and have only these lines in 
it:

DESKTOP="KDE"
DISPLAYMANAGER="KDE"

Make sure to run:

restorecon -v '/etc/sysconfig/desktop'

after editing, so that there will be no problems with selinux. Both editing 
the file and running restorecon must be done as root.

What this file does is to switch your system from using gdm to using kdm.

Then, also make sure you have this file in /home/yourusername/.dmrc. It 
contains only these lines:

[Desktop]
Session=default

Since this is in your directory, you don't need to be root to edit the file.

Now, reboot the system and allow it to use kdm to log in. You will see a 
selector that allows you to choose kde or gnome.

To return back to your former setup, reverse these changes.



More information about the users mailing list