A theme for Web Greeter
Customizable LightDM Web Greeter theme based on the design of luminos by (Muhammad Sayuti) which was based on the official LightDM Webkit Greeter theme of Antergos Linux.
This dark theme was built for use on Linux Workstations at the Department of Physics ETH Zurich, because there was no suitable theme available that would allow us to use it in combination with a central authentication provider like LDAP or Kerberos. Other themes present a list of users to select from, as it is done with the default LightDM configuration, which does just not scale with our currently active 2464 LDAP user accounts :)
Many thanks to the following guys for their support on this project.
- Claude Becker (upekkha)
- Anastassios Martakos (realmar)
- Christian Herzog (daduke)
- Alex Myczko (alexmyczko)
- Janosch Bühler (WitteShadovv)
- Works with web-greeter 3.4.0
- Username promt (no userlist)
- Customizable configuration
- Shows the hostname
- Shows currently active lighdm user sessions (when locked)
- Shows useful static information
- Short feedback after authenticating (success/failure)
- Drop-down list for session selection
- Wallpaper changer
lightdmweb-greeter(releases)
Enable web-greeter by editing /etc/lightdm/lightdm.conf and setting greeter-session property to web-greeter:
[Seat:*]
greeter-session=web-greeter
greeter-show-manual-login=true
greeter-hide-users=true
user-session=ubuntu
allow-guest=false
To select another screen for the lightdm greeter in a multimonitor configuration, add the following line:
display-setup-script=xrandr --output <id> --primary
while <id> is the screen, use xrandr to list your screen ids.
Clone the theme to /usr/share/web-greeter/themes/luminosity:
cd /usr/share/web-greeter/themes
git clone https://github.com/rda0/web-greeter-theme-luminosity.git luminosityTo select luminosity as default theme just change the greeter.theme property in /etc/lightdm/web-greeter.yml to luminosity::
greeter:
debug_mode: False
detect_theme_errors: True
screensaver_timeout: 300
secure_mode: True
theme: luminosity
icon_theme:
time_language:
Now restart lightdm:
systemctl restart lightdm.service
The theme can be customized in branding.theme (optional), see docs for example. To generate thumbnails run generate-images.py (requires graphicsmagick).
You may also want to install light-locker to replace gnome-screensaver to show the Web Greeter lock screen after automatic session lock.
apt purge gnome-screensaver
apt install python-gi python3-pyside
apt install light-locker light-locker-settingsRemove the line starting with NotShowIn= in light-locker.desktop to start light-locker also in gnome:
sed -i '/NotShowIn=/d' /etc/xdg/autostart/light-locker.desktopDisable gnome screensaver proxy:
cat > /etc/xdg/autostart/org.gnome.SettingsDaemon.ScreensaverProxy.desktop << EOF
[Desktop Entry]
Hidden=false
EOF
Now kill the screensaver (if it is running) and then restart lightdm.
The user can configure light-locker with the settings panel light-locker-settings.
To check if light-locker works:
$ light-locker-command -q
The screensaver is inactive (means: it is running)
$ light-locker-command -l
# this will lock the screenYou may also use loginctl lock-session to lock your screen.
To uninstall, simply restore the greeter-session property of the /etc/lightdm/lightdm.conf file and restart your computer (or at least lightdm).
You may also want to:
- Remove the folder
luminositywhich was created in/usr/share/web-greeter/themes/ - Restore the
webkit-themeproperty of the/etc/lightdm/web-greeter.conffile

