Difference between revisions of "Install Display Managers"

Revamp lightdm section
imported>Dalto
(Update entrance)
imported>Dalto
(Revamp lightdm section)
Line 56: Line 56:


=LightDM=
=LightDM=
[[File:Lightdm2019-1.png|thumb|left|375px]]
[https://github.com/CanonicalLtd/lightdm LightDM] is a light display manager with minimal dependencies.


{{Note|LightDM need some configuring to make it Correct but with the right Steps it Works}}


==Installing LightDM==


'''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.
LightDM can be installed with:
pamac install lightdm


  sudo pacman -S lightdm lightdm-another-gtk-greeter lightdm-another-gtk-greeter-themes accountsservice
To enable LightDM as the default display manager use:
  sudo systemctl enable lightdm.service --force




First configure the Greeter in /etc/lightdm/lightdm.conf:
==Installing a Greeter==


  sudo nano /etc/lightdm/lightdm.conf
With LightDM, you also will need to install and configure a greeter. If you don't install a greeter, it won't work.


  [SeatDefaults]
There are a lot of greeters for LightDM. We will cover two of the greeters most commonly used by Manjaro editions.
# This sets the lightDM-another-greeter:
greeter-session=lightdm-another-gtk-greeter
# Depends on Desktop it Sets to your standard desktop:
user-session=xfce


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 nano /etc/lightdm/lightdm-another-gtk-greeter.conf
====Slick Greeter====


  [appearance]
Install the greeter and the configuration tool:
  # Greeter theme. Themes are located in “themes” directory (“/usr/share/lightdm-$"):
pamac install lightdm-slick-greeter lightdm-settings
  greeter-theme=gtk-greeter-160
  # Background color (#RRGGBB) or image:
  background=/usr/share/backgrounds/xfce/alone.jpg
  # User styles file:
  #css-file=
  # Logo: “file_path” or “#icon_name”
  #logo=
  # Gtk theme to use (in this case "greenbird" theme is used):
  gtk-theme=greenbird
  # Icons theme to use:
  icon-theme=kotenza
  #Not so important font setting:
  font-name=comfortaa


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]].


when all is done you can setup user icons.
Locate the section '''[Seat:*]'''. Within that section locate the line containing '''greeter-session=''' and replace the entire line with
greeter-session=lightdm-slick-greeter


  sudo systemctl enable accounts-daemon
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.
 
  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.
====GTK Greeter====


Install the greeter and the configuration tool:
pamac install lightdm-gtk-greeter lightdm-gtk-greeter-settings


make sure you install '''xorg-server-xephyr'''
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]].
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  
Locate the section '''[Seat:*]'''.  Within that section locate the line containing '''greeter-session=''' and replace the entire line with
greeter-session=lightdm-gtk-greeter


  sudo systemctl disable mdm  # for example
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.
 
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]




Anonymous user