How to change the display manager on Fedora Linux?

The default display manager on my Fedora 22 is gdm. If I would like to change it to other display manager like KDM, LightDM or other, which is the portable and reliable method?

You can use the “system-switch-displaymanager” tools to manage the display manager. This is possibly the most portable way.

To install it:

# dnf install system-switch-displaymanager system-switch-displaymanager-gnome

And choose the display manager after running

# system-switch-displaymanager

You will need to restart X server to make it take effect.

If you want to know what’s happening (and it may change in the future):

# ls -l /etc/systemd/system/display-manager.service

It points to the display manager’s service.

Answered by Eric Z Ma.

Eric Z Ma

Eric is a father and systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.

Leave a Reply

Your email address will not be published. Required fields are marked *