Install Display Managers

From Manjaro Linux
Jump to: navigation, search

Overview

Tip: if you are only using one desktop environment, then why not choose the appropriate display manager to go with it?


Display Managers are used to provide login screens, and therefore serve as protective security barriers to prevent unauthorised access to your system. They are also referred to as Login Managers. As with different desktop environments, different display managers will require different system resources to run, and will provide their own unique styles, interfaces, and features. Commonly shared features - particularly in respect to the selection of display managers listed below - include customisation/theming, automatic login, and the selection of multiple desktop environments.


Note: Only the display managers that can be easily installed and enabled have been listed. There are several additional display managers available from the Manjaro repositories for more experienced users to consider, including XDM, WDM, and Qingy.


MDM

Mdm.png


MDM - the Mint Display Manager - is designed for use with any desktop environment. It supports theming, automatic login, and the automatic detection and use of multiple desktop environments. Ported over from Mint and adapted by the Manjaro Team, this is the default display manager for the XFCE flavour. It is also highly recommended for newcomers, particularly as it comes with a very easy user-friendly app to configure and change its appearance... and lots of themes to go with it.

MDM can be installed by entering the following command:

sudo pacman -S mdm




Mdm2.png


To enable MDM in Manjaro 0.8.2 or later (or if Plymouth has been removed), enter the command:

sudo systemctl enable mdm.service -f

To enable MDM in Manjaro 0.8.1 or earlier (or if Plymouth has been added), enter the command:

sudo systemctl enable mdm-plymouth.service -f



GDM

Gdm.png


GDM - the Gnome Display Manager - is designed for use with Gnome 3. It supports theming, automatic login, and the automatic detection and use of multiple desktop environments. Specifically for those using Gnome 3, a configuration application is also available to easily customise the login screen and enable automatic login without having to edit any configuration files.

GDM can be installed by entering the following command:

sudo pacman -S gdm

Alternatively, GDM can also be installed along with its own configuration application by entering the following command:

sudo pacman -S gdm3setup


Gdmsessions.png


Warning: GDM is only suitable for those using - or intending to use - Gnome and/or Cinnamon. This is because the Gnome 3 desktop environment will also be installed as a dependency.


To enable GDM in Manjaro 0.8.2 or later (or if Plymouth has been removed), enter the command:

sudo systemctl enable gdm.service -f

To enable GDM in Manjaro 0.8.1 or earlier (or if Plymouth has been added), enter the command:

sudo systemctl enable gdm-plymouth.service -f



KDM

Kdm.png


KDM - the KDE Display Manager - is designed for use with KDE. It supports theming, automatic login, and the automatic detection and use of multiple desktop environments. If the full KDE desktop environment has been installed, then KDM should already be available to be enabled.

Otherwise, to install KDM, enter the command:

sudo pacman -S kdebase-workspace

Additional themes for KDM can also be obtained by entering the command:

sudo pacman -S archlinux-themes-kdm


Kdmsessions.png


Warning: KDM is only suitable for those using - or intending to use - KDE, itself. This is because KDM can only be installed as part of the KDE environment, which will otherwise be downloaded with it.


To enable KDM in Manjaro 0.8.2 or later (or if Plymouth has been removed), enter the command:

sudo systemctl enable kdm.service -f

To enable KDM in Manjaro 0.8.1 or earlier (or if Plymouth has been added), enter the command:

sudo systemctl enable kdm-plymouth.service -f



LXDM

Lxdm.png


LXDM - the Lightweight X-Windows Display Manager - is designed for use with any desktop environment. It supports theming, automatic login, easy selection of multiple languages, and the automatic detection and use of multiple desktop environments.

To install LXDM, enter the command:

sudo pacman -S lxdm


Lxdmsessions.png


To enable LXDM in Manjaro 0.8.2 or later (or if Plymouth has been removed), enter the command:

sudo systemctl enable lxdm.service -f

To enable LXDM in Manjaro 0.8.1 or earlier (or if Plymouth has been added), enter the command:

sudo systemctl enable lxdm-plymouth.service -f


SLiM

Slim.png


SLiM - the Simple Login Manager - is designed for use with any desktop environment. Used by Manjaro Openbox and popular with Arch users, it supports theming, automatic login, and use of multiple desktop environments. Since version 1.6.2, SLiM now supports the automatic detection of desktop environments. It may be necessary for users who have installed Manjaro 0.8.7.1 and earlier to manually edit some configuration files to get it to work.

To install SLiM, enter the command:

sudo pacman -S slim

Additional themes for SLiM can also be obtained by entering the command:

sudo pacman -S slim-themes


Slimsessions.png


Warning: Unless you have installed Manjaro release 0.8.8 or later, DO NOT just reboot your system after installing and enabling SLiM! If you do, you will get no further than the login screen. You must first edit the /etc/slim.conf file and the ~/.xinitrc file to get it working before rebooting. Guidance on how to Configure SliM has been provided.


To enable SLiM in Manjaro 0.8.2 or later (or if Plymouth has been removed), enter the command:

sudo systemctl enable slim.service -f


SDDM

Sddmv2.png


Warning: When enabling auto-login with SDDM, you will not be able to change the settings of your Network Manager. This is because SDDM has not yet been configured by the developers to provide the requisite permissions to do so.


SDDM is a relatively new and lightweight QML-based Display Manager for use with any desktop environment. It supports theming, automatic login, and the automatic detection and use of multiple desktop environments.

To install SDDM, enter the command:

sudo pacman -S sddm


Sddmsessions.png


To enable SDDM in Manjaro 0.8.2 or later (or if Plymouth has been removed), enter the command:

sudo systemctl enable sddm.service -f


Display Manager Crashes (SystemD)

After Arch and other Arch-based derivatives introduced a new internal process called SystemD relatively recently, many display managers would crash upon attempting to log out and back in multiple times. While this should have been resolved at the time of writing, more experienced users encountering this problem can manually configure their display manager by editing the /etc/pam.d/[display manager] configuration file.

For example, where using SDDM, users would edit /etc/pam.d/sddm. For SLiM (already patched), it would be /etc/pam.d/slim, and so on. Once open, just add the following line at the end of the configuration file to solve the issue:

session 	required 	pam_systemd.so


See Also