Difference between revisions of "Install Display Managers"

imported>Verityproductions
(Marked this version for translation)
 
(38 intermediate revisions by 12 users not shown)
Line 1: Line 1:
=Overview=
<languages/>
__TOC__
<translate>
=Overview= <!--T:1-->
{{BoxInfo|Choice of display manager|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.


{{tip|if you are only using one desktop environment, then why not choose the appropriate display manager to go with it?}}
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.
 
{{BoxWarning|Plymouth configuration|If using Plymouth it is important to enable the Plymouth service specific for your chosen displaymanager}}
 
=GDM= <!--T:2-->
'''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.
{|
 
|-
 
| [[File:Gdm2019-1.png|thumb|left|375px|Gnome display manager]] || '''[https://en.wikipedia.org/wiki/GNOME_Display_Manager GDM]''' - the '''G'''nome '''D'''isplay '''M'''anager - 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.  GDM is typically only paired with a Gnome Desktop Environment because GDM depends on a large amount of the Gnome desktop as dependencies.
{{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=
 
[[File:mdm.png|thumb|left|375px]]
 
 
MDM - the '''M'''int '''D'''isplay '''M'''anager - 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
 
 
<br clear="all" />
 
 
[[File:mdm2.png|thumb|left|375px]]
 
 
'''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
<br clear="all" />
 
 
=GDM=
 
[[File:gdm.png|thumb|left|375px]]
 
 
'''[http://en.wikipedia.org/wiki/GNOME_Display_Manager GDM]''' - the '''G'''nome '''D'''isplay '''M'''anager - 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.  


<!--T:3-->
GDM can be installed by entering the following command:
GDM can be installed by entering the following command:
{{UserCmd|command=pamac install gdm}}
To enable GDM as your default display manager use the command:
{{UserCmd|command=systemctl enable gdm.service --force}}
To install the Manjaro specific theming for GDM you can use the command:
{{UserCmd|command=pamac install manjaro-gdm-theme}}
If Using Plymouth the service to enable is
{{UserCmd|command=systemctl enable gdm-plymouth.service --force}}
|}


sudo pacman -S gdm
=LXDM= <!--T:4-->
 
{|
Alternatively, GDM can also be installed along with its own configuration application by entering the following command:
|-
 
| [[File:lxdm.png|thumb|left|375px|LXDM display manager]] || '''[http://wiki.lxde.org/en/LXDM LXDM]''' - the '''L'''ightweight '''X'''-Windows '''D'''isplay '''M'''anager - 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.  
sudo pacman -S gdm3setup
<br clear="all" />
 
[[File:gdmsessions.png|thumb|left|375px]]
 
 
{{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
<br clear="all" />
 
 
=KDM=
 
[[File:kdm.png|thumb|left|375px]]
 
 
'''[http://en.wikipedia.org/wiki/KDE_Display_Manager KDM]''' - the '''K'''DE '''D'''isplay '''M'''anager - 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
<br clear="all" />
 
[[File:kdmsessions.png|thumb|left|375px]]
 
 
{{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
<br clear="all" />
 
 
=LXDM=
 
[[File:lxdm.png|thumb|left|375px]]
 
 
'''[http://wiki.lxde.org/en/LXDM LXDM]''' - the '''L'''ightweight '''X'''-Windows '''D'''isplay '''M'''anager - 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.  


<!--T:5-->
To install LXDM, enter the command:
To install LXDM, enter the command:
{{UserCmd|command=pamac install lxdm}}
To enable LXDM as your default display manager use the command:
{{UserCmd|command=sudo systemctl enable lxdm.service --force}}
If using Plymouth the service to enable is
{{UserCmd|command=systemctl enable lxdm-plymouth.service --force}}
|}


sudo pacman -S lxdm
=SDDM= <!--T:6-->
<br clear="all" />
{|
 
|-
[[File:lxdmsessions.png|thumb|left|375px]]
| [[File:Sddm2019-1.png|thumb|left|375px|SDDM display manager]] || [https://github.com/sddm/sddm SDDM] is a relatively new and lightweight QML-based display manager with minimal dependencies for use with any desktop environment. It supports theming, automatic login, and the automatic detection and use of multiple desktop environments.  
 
 
'''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
<br clear="all" />
 
=SLiM=
 
[[File:slim.png|thumb|left|375px]]
 
 
'''[http://en.wikipedia.org/wiki/SLiM SLiM]''' - the '''S'''imple '''L'''og'''i'''n '''M'''anager - 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. '''However, SLiM is not recommended for inexperienced users''' as it does not automatically detect installed desktop environments, and it is consequently necessary 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
<br clear="all" />
 
[[File:slimsessions.png|thumb|left|375px]]
 
 
{{warning|'''DO NOT''' just reboot your system after installing and enabling SLiM! If you do, you will get no further than the login screen. You <u>must</u> first edit the /etc/slim.conf file and the ~/.xinitrc file to get it working before rebooting. Guidance on how to '''[[SLiM Configuration|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
<br clear="all" />
 
=SDDM=
 
[[File:sddmv2.png|thumb|left|375px]]
 
 
{{warning|Where 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.  


<!--T:7-->
To install SDDM, enter the command:
To install SDDM, enter the command:
{{UserCmd|command=pamac install sddm}}
To enable SDDM enter the command:
{{UserCmd|command=sudo systemctl enable sddm.service --force}}
If using Plymouth the service to enable is
{{UserCmd|command=systemctl enable sddm-plymouth.service --force}}
|}


sudo pacman -S sddm
=LightDM= <!--T:8-->
<br clear="all" />
{|
 
|-
[[File:sddmsessions.png|thumb|left|375px]]
| [[File:Lightdm2019-1.png|thumb|left|375px|Lightdm display manager]] || [https://github.com/CanonicalLtd/lightdm LightDM] is a light display manager with minimal dependencies.


<!--T:9-->
To install LightDM, enter the command:
{{UserCmd|command=pamac install lightdm}}
To enable LightDM as the default display manager use:
{{UserCmd|command=sudo systemctl enable lightdm.service --force}}
If using Plymouth the service to enable is
{{UserCmd|command=systemctl enable lightdm-plymouth.service --force}}


'''To enable SDDM in Manjaro 0.8.2 or later''' (or if Plymouth has been removed), enter the command:
<!--T:10-->
With LightDM, you also will need to install and configure a greeter.  If you don't install a greeter, it won't work. There are a lot of greeters for LightDM. We will cover two of the greeters most commonly used by Manjaro editions.
|}


sudo systemctl enable sddm.service -f
=Lightdm Greeters= <!--T:11-->
<br clear="all" />
==Slick Greeter==
Install the greeter and the configuration tool:
{{UserCmd|command=pamac install lightdm-slick-greeter lightdm-settings}}


<!--T:12-->
Edit the file '''/etc/lightdm/lightdm.conf'''.  For instructions on how to edit a file owned by root see [[Viewing_and_editing_configuration_files|this guide]].


=Display Manager Crashes (SystemD)=
<!--T:13-->
Locate the section '''[Seat:*]'''.  Within that section locate the line containing '''greeter-session=''' and replace the entire line with
{{File|file=/etc/lightdm/lightdm.conf|content=<pre>[Seat:*]
....
greeter-session=lightdm-slick-greeter
...</pre>}}


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.
The slick-greeter ships with a working configuration file but you can optionally run the "Login Window"(lightdm-settings) application and customize the greeter in many ways.
==GTK Greeter== <!--T:14-->
Install the greeter and the configuration tool:
{{UserCmd|command=pamac install lightdm-gtk-greeter lightdm-gtk-greeter-settings}}


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:
<!--T:15-->
Edit the file '''/etc/lightdm/lightdm.conf'''. For instructions on how to edit a file owned by root see [[Viewing_and_editing_configuration_files|this guide]].


  session required pam_systemd.so
<!--T:16-->
Locate the section '''[Seat:*]'''. Within that section locate the line containing '''greeter-session=''' and replace the entire line with
{{File|file=/etc/lightdm/lightdm.conf|content=<pre>[Seat:*]
....
greeter-session=lightdm-gtk-greeter
....</pre>}}


The gtk greeter ships with a working configuration file but you can optionally run the "LightDM GTK+ Greeter Settings"(lightdm-gtk-greeter-settings) application and customize the greeter in many ways.
=Entrance= <!--T:17-->
{|
|-
| [[File:Entrance_Actions_wiki.png|thumb|left|375px|Entrance display manager]] || [https://en.wikipedia.org/wiki/Entrance_(display_manager) Entrance] is a configurable DM designed for the Enlightenment desktop environment which allows selection of multiple themes, icons, and the enabling of virtual keyboards. The default installation offers a wallpaper with randomly displayed icons for each user account, although a fixed icon can be specified and custom icons compiled and added. When multiple Entrance themes are installed it is possible to have a default theme displayed on startup and individual themes that appear for each user as they begin login.


=See Also=
<!--T:18-->
Entrance is available in the [[Arch_User_Repository|Arch User Repository (AUR)]] and may be installed using the following command:
{{UserCmd|command=pamac build entrance-git}}


* '''[[Installation_Guide_for_the_NET_Edition_0.8.2|Installation Guide for the NET Edition]]'''
To enable Entrance as the default display manager run the command:
{{UserCmd|command=sudo systemctl enable entrance.service --force}}
|}
=See Also= <!--T:19-->


[[Category:Contents Page]]
<!--T:20-->
* [[Installation_Guides|Installation Guides]]
* [[Install_Desktop_Environments|Install Desktop Environments]]
</translate>
[[Category:Contents Page{{#translation:}}]]

Latest revision as of 17:38, 7 September 2021

Other languages:
English • ‎français • ‎русский • ‎فارسی

Overview

Choice of display manager
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.

Plymouth configuration
If using Plymouth it is important to enable the Plymouth service specific for your chosen displaymanager

GDM

 
Gnome display manager
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. GDM is typically only paired with a Gnome Desktop Environment because GDM depends on a large amount of the Gnome desktop as dependencies.

GDM can be installed by entering the following command:

user $ pamac install gdm COPY TO CLIPBOARD

To enable GDM as your default display manager use the command:

user $ systemctl enable gdm.service --force COPY TO CLIPBOARD

To install the Manjaro specific theming for GDM you can use the command:

user $ pamac install manjaro-gdm-theme COPY TO CLIPBOARD

If Using Plymouth the service to enable is

user $ systemctl enable gdm-plymouth.service --force COPY TO CLIPBOARD

LXDM

 
LXDM display manager
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:

user $ pamac install lxdm COPY TO CLIPBOARD

To enable LXDM as your default display manager use the command:

user $ sudo systemctl enable lxdm.service --force COPY TO CLIPBOARD

If using Plymouth the service to enable is

user $ systemctl enable lxdm-plymouth.service --force COPY TO CLIPBOARD

SDDM

 
SDDM display manager
SDDM is a relatively new and lightweight QML-based display manager with minimal dependencies 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:

user $ pamac install sddm COPY TO CLIPBOARD

To enable SDDM enter the command:

user $ sudo systemctl enable sddm.service --force COPY TO CLIPBOARD

If using Plymouth the service to enable is

user $ systemctl enable sddm-plymouth.service --force COPY TO CLIPBOARD

LightDM

 
Lightdm display manager
LightDM is a light display manager with minimal dependencies.

To install LightDM, enter the command:

user $ pamac install lightdm COPY TO CLIPBOARD

To enable LightDM as the default display manager use:

user $ sudo systemctl enable lightdm.service --force COPY TO CLIPBOARD

If using Plymouth the service to enable is

user $ systemctl enable lightdm-plymouth.service --force COPY TO CLIPBOARD

With LightDM, you also will need to install and configure a greeter. If you don't install a greeter, it won't work. There are a lot of greeters for LightDM. We will cover two of the greeters most commonly used by Manjaro editions.

Lightdm Greeters

Slick Greeter

Install the greeter and the configuration tool:

user $ pamac install lightdm-slick-greeter lightdm-settings COPY TO CLIPBOARD


Edit the file /etc/lightdm/lightdm.conf. For instructions on how to edit a file owned by root see this guide.

Locate the section [Seat:*]. Within that section locate the line containing greeter-session= and replace the entire line with

/etc/lightdm/lightdm.conf
[Seat:*]
....
greeter-session=lightdm-slick-greeter
...

The slick-greeter ships with a working configuration file but you can optionally run the "Login Window"(lightdm-settings) application and customize the greeter in many ways.

GTK Greeter

Install the greeter and the configuration tool:

user $ pamac install lightdm-gtk-greeter lightdm-gtk-greeter-settings COPY TO CLIPBOARD


Edit the file /etc/lightdm/lightdm.conf. For instructions on how to edit a file owned by root see this guide.

Locate the section [Seat:*]. Within that section locate the line containing greeter-session= and replace the entire line with

/etc/lightdm/lightdm.conf
[Seat:*]
....
greeter-session=lightdm-gtk-greeter
....

The gtk greeter ships with a working configuration file but you can optionally run the "LightDM GTK+ Greeter Settings"(lightdm-gtk-greeter-settings) application and customize the greeter in many ways.

Entrance

 
Entrance display manager
Entrance is a configurable DM designed for the Enlightenment desktop environment which allows selection of multiple themes, icons, and the enabling of virtual keyboards. The default installation offers a wallpaper with randomly displayed icons for each user account, although a fixed icon can be specified and custom icons compiled and added. When multiple Entrance themes are installed it is possible to have a default theme displayed on startup and individual themes that appear for each user as they begin login.

Entrance is available in the Arch User Repository (AUR) and may be installed using the following command:

user $ pamac build entrance-git COPY TO CLIPBOARD

To enable Entrance as the default display manager run the command:

user $ sudo systemctl enable entrance.service --force COPY TO CLIPBOARD

See Also