How do I set the default window manager under Fedora 21?

16,156

Solution 1

As I interpret your question, you want to install switchdesk

$ yum install switchdesk switchdesk-gui

and run that. You can also try changing settings in /etc/sysconfig/desktop as described here.

If you want to simply try out a different desktop environment at login time, try installing lightdm or kdm (from the fine folks who bring us KDE) and pick one before you log in.

EDIT The advice above maybe outdated.

GDM does not seem to allow you to choose your desktop environment the way KDM and lightdm (and others probably) do. Using my favourite DM, lightdm, as an example (use sudo or switch to root):

$ sudo yum install lightdm
...
$ sudo systemctl reboot

It is possible to do this without rebooting

$ sudo systemctl stop gdm  # this will abruptly halt your session and take you to a text console

Log in as root and then type

$ systemctl start lightdm

When I change DM, I like to reboot to make sure my changes persist. If (like mine did) your machine does not boot to a graphical screen, then log in as root and type:

$ systemctl start lightdm

Both KDM and lightdm allow you to select a DE from a pulldown menu.

If you want to revert back to Gnome's display manager:

$ sudo systemctl enable gdm
$ sudo systemctl disable lightdm

Solution 2

GDM does support choosing at login time, but it is sort of hidden.

When I type my login, press Return and before I enter my password a small gear appears. It is a pull-down to choose the desktop environment.

Unfortunately, it is not sticky. I must do it every time. If I get my password wrong the first time, it resets to GDM.

Share:
16,156
user3719454
Author by

user3719454

Updated on June 16, 2022

Comments

  • user3719454
    user3719454 almost 2 years

    Fedora 21 comes with the ugly Gnome 3, and I installed XFCE and MATE, but I don't know, how to set either of them as a default X window manager. After I logout from Gnome 3, I don't see any selection from installed window managers.

  • user3719454
    user3719454 about 9 years
    I already tried switchdesk...I already installed mate and xfce, but it is not shown in switchdesk: either Gnome or System defaults... and etc/sysconfig/desktop doesn't exist in the filesystem :(
  • user3719454
    user3719454 about 9 years
    Thx, John, this worked out :) both lightdm and kdm :) just don't know which to use :)