SDB:Change Display Manager

Jump to: navigation, search
This article explains how to change your Display Manager (or Login Manager) from the default.
Tested on openSUSE Recommended articles Related articles
Icon-checked.png

Icon-manual.png Icon-help.png

The Display Manager (DM) or login manager is typically the first interaction the user has with the computer after boot, as it is where the user enters his or her username and password to log on.

Although the default DM (gdm for GNOME installations, or SDDM for KDE installations) will suffice for most cases, sometimes users will want to change to a non-default DM for performance or aesthetic purposes. This article explains that process.

Installing Another DM

An alternative DM must be installed before it may be selected.

To install one of the below managers, type the indicated code.

Display Manager Brief Description To Install, Type:
gdm (Gnome Display Manager) [1] Default DM for GNOME desktop installations
sudo zypper in gdm
SDDM (Simple Desktop Display Manager) [2] QML-Based X11 and Wayland DM. Default DM for KDE Plasma 5 installations
 sudo zypper in sddm
LightDM [3] A lightweight DM; default for XFCE installations
sudo zypper in lightdm
MDM [4] Developed by Linux Mint for MATE and Cinnamon
sudo zypper in mdm
kdm (KDE Display Manager [5] [ Default DM for KDE 4 installations
sudo zypper in kdm

Selecting the new DM

After it has been installed, the new Display Manager may be selected either by using the YaST /etc/sysconfig Editor or by editing /etc/sysconfig directly.

Using YaST

Run YaST, then select the /etc/sysconfig Editor (located in the 'System' category).

Expand 'Desktop', and then 'Display Manager'.

In 'DEFAULT_DM', enter the indicated value:

To use... Enter...
gdm
gdm
SDDM
sddm
LightDM
lightdm
MDM
mdm
kdm
kdm

Finally, press Finish. Upon reboot, you should be greeted by your new display manager!

Editing /etc/sysconfig Directly

Users who do not wish or are unable to use YaST may change their DM by editing their /etc/sysconfig directly.

First, as root, load /etc/sysconfig/displaymanager in your favourite text editor:

 sudo nano /etc/sysconfig/displaymanager

Find the following line:

DISPLAYMANAGER="gdm"

Edit the text in quotations according to the indicated value:

To use... Enter...
gdm
gdm
SDDM
sddm
LightDM
lightdm
MDM
mdm
kdm
kdm

Save your changes. Upon reboot, you should be greeted by your new display manager!

Tumbleweed

Tumbleweed selects the display manager through update-alternatives. To list all display managers the alternatives system knows about, run

sudo update-alternatives --list default-displaymanager

To change the display manager

sudo update-alternatives --config default-displaymanager

There is also a YaST module for update alternatives

sudo zypper in yast2-alternatives

That will perform a similar function via the YaST interface.

See also

Related articles

External links

gdm
SDDM
LightDM