Back to main index

LightDM Display Manager

Created on: 09-Dec-2018
Updated on: 09-Dec-2018

LightDM on archlinux wiki page: LightDM

This is how it looks installed on CentOS.

yum list installed | grep lightdm
lightdm.x86_64                 1.25.0-1.el7     @epel      
lightdm-gobject.x86_64         1.25.0-1.el7     @epel      
lightdm-gtk.x86_64             1.8.5-19.el7     @epel      
lightdm-gtk-common.noarch      1.8.5-19.el7     @epel

Install lightdm packages.

yum install lightdm lightdm-gtk lightdm-gobject lightdm-gtk-common

lightdm-gtk-greeter uses a gtk3 css style

emacs  /etc/lightdm/lightdm.conf &
greeter-session=lightdm-gtk-greeter

# save & enable the service
systemctl enable lightdm.service

The background image is 2560x1080, so you may need to change it.
Also, install the theme lightdm-gtk-clearlooks-grey.

cd /usr/share/pixmaps
wget ftp://vasilian.net/Gtk-Themes/enterprise_os_2560x1080.jpg

cd /tmp
wget ftp://vasilian.net/Gtk-Themes/lightdm-gtk-clearlooks-grey.tar.gz
tar -zxvf lightdm-gtk-clearlooks-grey.tar.gz
mv lightdm-gtk-clearlooks-grey  /usr/share/themes
chown -Rv root:root /usr/share/themes/lightdm-gtk-clearlooks-grey
chcon -Rv -u system_u -t usr_t /usr/share/themes/lightdm-gtk-clearlooks-grey

Edit the gtk greeter settings.

emacs  /etc/lightdm/lightdm-gtk-greeter.conf &

[greeter]
background=/usr/share/pixmaps/enterprise_os_2560x1080.jpg
theme-name=lightdm-gtk-clearlooks-grey
icon-theme-name=Bluecurve
font-name=DejaVu Sans Condensed:10
#xft-antialias=
xft-dpi=96
#xft-hintstyle=
#xft-rgba=
show-indicators=~host;~spacer;~clock;~spacer;~language;~session;~ally;~power;
show-clock=true
clock-format=%H:%M:%S
keyboard=us
position=50%,center 50%,center
#screensaver-timeout=

This is from the archlinux days:
on the login page there are some strange accounts: "git daemon user", "xbmc", etc.
It can be fixed by installing accountsservice.x86_64 that will automatically hide them.



Back to main index