Manjaro Difference between revisions of "Install Display Managers"

Difference between revisions of "Install Display Managers"

From Manjaro
imported>Excalibur1234
(Marked this version for translation)
 
(31 intermediate revisions by 8 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. '''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
<br clear="all" />
 
[[File:slimsessions.png|thumb|left|375px]]
 
 
{{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 <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|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.  


<!--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.
 
 
'''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
<br clear="all" />
 
=LightDM=
 
{{Note|LightDM need some configuring to make it Correct but with the right Steps it Works}}
 
 
'''LigtDM''' is a light displaymanager without depencies of gnome. With the right greeter it works but need some manual intervention to do it, here some steps.
 
sudo pacman -S lightdm lightdm-another-gtk-greeter lightdm-another-gtk-greeter-themes accountsservice
 
 
First configure the Greeter in /etc/lightdm/lightdm.conf        # depend on which greeter you always set it here
 
  sudo gedit /etc/lightdm/lightdm.conf
 
  [SeatDefaults]
  greeter-session=lightdm-another-gtk-greeter              # This sets the lightDM-another-greeter   
  user-session=xfce                                        # Depends on Desktop it Sets to your standard desktop
 
LightDM.conf is configured. Now we have to configure the greeter. This a few lines you have to search mostly there you see "#" before it.
 
  sudo gedit /etc/lightdm/lightdm-another-gtk-greeter.conf
 
  [appearance]
  # Greeter theme. Themes are located in “themes” directory (“/usr/share/lightdm-$
  greeter-theme=gtk-greeter-160                # theme of the greeter.
  # Background color (#RRGGBB) or image
  background=/usr/share/backgrounds/xfce/alone.jpg    # path to the background.
  # User styles file
  #css-file=
  # Logo: “file_path” or “#icon_name”
  #logo=
  # Gtk theme to use
  # Gtk theme to use
  gtk-theme=greenbird            #  depend on your theme but i use greenbird for it :)
  # Icons theme to use
  icon-theme=kotenza                #  these are my own likings but this you choose your icons settings
  font-name=comfortaa              #  you can probably leave an # in front.
 
 
when al is done you can setup user icons.
 
  sudo systemctl enable accounts-daemon
 
  look in /var/lib/AccountsService/users/ for your name  if not so then you have to make it.you have to an text file with your username.
  with this info on board.
 
  [User]
  Language=nl_BE.utf8
  XSession=xfce
  Icon=/var/lib/AccountsService/icons/<username>.png
 
you have configured the the icon stuf.
 
 
make sure you install '''xorg-server-xephyr'''
then u can do '''lightdm --test-mode''' to test how it works you get a black window with a patience you see if it working or not. are all certain of it.
 
Disable the running display manager forst with  
 
  sudo systemctl disable mdm  # for example
 
then
 
  sudo systemctl enable lightdm
 
 
if you take another greeter it would work te same basicly for more infor you can read this further. -> [https://wiki.archlinux.org/index.php/LightDM]
 
 
<br clear="all" />
 
 
=Troubleshooting=


<!--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}}


==Display Manager Crashes (SystemD)==
<!--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.
|}


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.
=Lightdm Greeters= <!--T:11-->
==Slick Greeter==
Install the greeter and the configuration tool:
{{UserCmd|command=pamac install lightdm-slick-greeter lightdm-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: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]].


  session required pam_systemd.so
<!--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>}}


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}}


==Display Manager service cannot be disabled==
<!--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]].


If an old Display Manager service cannot be disabled with the command
<!--T:16-->
  sudo systemctl enable XXXX.service -f
Locate the section '''[Seat:*]'''. Within that section locate the line containing '''greeter-session=''' and replace the entire line with
(replace XXXX with the name of the Display Manager you want to disable),
{{File|file=/etc/lightdm/lightdm.conf|content=<pre>[Seat:*]
please try to disable all Display Managers on your System by deleting the following file:
....
sudo rm /etc/systemd/system/display-manager.service
greeter-session=lightdm-gtk-greeter
Attention: After deleting this file, ALL Display Managers have been disabled and your system boots to a text-based interface [https://en.wikipedia.org/wiki/Command-line_interface]. You need to install and enable a Display Manager in order to be able to log in with a graphical user interface.
....</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.10|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

Cookies help us deliver our services. By using our services, you agree to our use of cookies.