Lightdm

From Leo's Notes
Revision as of 23:58, 6 June 2017 by Leo (talk | contribs) (Created page with "Lightdm is a login manager for Linux. == Lightdm Webkit == The {{code|lightdm-webkit2-greeter}} greeter lets you use a webkit engine to drive the login screen. This effective...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This page was last edited on 6 June 2017, at 23:58.

Lightdm is a login manager for Linux.

Lightdm Webkit

The lightdm-webkit2-greeter greeter lets you use a webkit engine to drive the login screen. This effectively makes the login screen a webpage which makes it super simple to customize and add functionality (via javascript).

Setup

Install the lightdm-webkit2-greeter package either from your distro's repository or from source.

On a Fedora Linux computer, pull the package from the copr repository.

One installed, there are a few files you want to edit:

  • /etc/lightdm/lightdm.conf - change the greeter to lightdm-webkit2-greeter.
  • /etc/lightdm/lightdm-webkit2-greeter.conf - define which theme you want to use.
  • /usr/share/lightdm-webkit/themes - custom themes are placed here.

If you have any issues with lightdm, check out the log files at:

  • /var/log/lightdm/lightdm.log
  • /var/log/lightdm/x-0-greeter.log - JavaScript exceptions will be displayed here

Troubleshooting

I had the lightdm-webkit login screen not accept any keyboard inputs when the webkitgtk4 library got updated past version 2.12.3-1.

This was resolved by updating lightdm-webkit2-greeter to a more recent version.

See Also