Back to main index

LightDM Display Manager

LightDM on archlinux wiki page: LightDM

This is how it looks installed on Rocky-8

dnf list installed | grep lightdm
lightdm.x86_64              1.30.0-6.el8      @epel         
lightdm-gobject.x86_64      1.30.0-6.el8      @epel         
lightdm-gtk.x86_64          2.0.5-1.fc28      @fedora28

Install lightdm packages.

dnf --enablerepo=fedora28 install lightdm

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