Fedora / CentOS / RHEL Linux change default desktop or display manager

http‮:s‬//www.lautturi.com
Fedora / CentOS / RHEL Linux change default desktop or display manager

To change the default desktop or display manager in Fedora, CentOS, or RHEL Linux, you can use the systemctl command with the set-default option.

Here's an example of how to change the default desktop environment in Fedora:

  1. Install the desired desktop environment. For example, to install the GNOME desktop environment, you can use the following command:
dnf install gnome-desktop
  1. Set the default desktop environment to GNOME:
systemctl set-default graphical.target

This will set the default target to the graphical.target, which will start the GNOME desktop environment when you boot the system.

To set the default display manager, you can use the systemctl command with the enable and disable options.

For example, to set the default display manager to GDM (GNOME Display Manager), you can use the following commands:

systemctl enable gdm
systemctl disable lightdm

This will enable the GDM display manager and disable the LightDM display manager.

Note that you will need to reboot the system for the changes to take effect.

Created Time:2017-10-28 20:14:18  Author:lautturi