{"id":13341370,"url":"https://github.com/max-moser/lightdm-elephant-greeter","last_synced_at":"2026-01-18T12:03:53.184Z","repository":{"id":44706284,"uuid":"327447663","full_name":"max-moser/lightdm-elephant-greeter","owner":"max-moser","description":"A simple LightDM greeter that can run under Wayland.","archived":false,"fork":false,"pushed_at":"2024-02-01T14:47:25.000Z","size":72,"stargazers_count":67,"open_issues_count":7,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-17T20:57:31.869Z","etag":null,"topics":["cage","greeter","gtk","lightdm-greeter","wayland"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/max-moser.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-06T22:55:35.000Z","updated_at":"2025-11-15T20:57:41.000Z","dependencies_parsed_at":"2024-10-24T02:06:57.647Z","dependency_job_id":"678cc9e0-3b79-4a79-9438-3189331c3429","html_url":"https://github.com/max-moser/lightdm-elephant-greeter","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/max-moser/lightdm-elephant-greeter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-moser%2Flightdm-elephant-greeter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-moser%2Flightdm-elephant-greeter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-moser%2Flightdm-elephant-greeter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-moser%2Flightdm-elephant-greeter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/max-moser","download_url":"https://codeload.github.com/max-moser/lightdm-elephant-greeter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-moser%2Flightdm-elephant-greeter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28535333,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T10:13:46.436Z","status":"ssl_error","status_checked_at":"2026-01-18T10:13:11.045Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cage","greeter","gtk","lightdm-greeter","wayland"],"created_at":"2024-07-29T19:25:24.643Z","updated_at":"2026-01-18T12:03:53.131Z","avatar_url":"https://github.com/max-moser.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LightDM Elephant Greeter\n\nA small and simple [LightDM](https://github.com/canonical/lightdm) greeter using Python and GTK that doesn't require an X11 server.\n\nIt is based on [Matt ~~Shultz's~~ Fischer's example LightDM greeter](http://www.mattfischer.com/blog/archives/5).\n\n\n## Screenshot\n\n![Screenshot](./screenshot.png?raw=true \"Screenshot\")\n\n\n## Features\n\n* optionally uses Wayland, via [Cage](https://www.hjdskes.nl/projects/cage/) (instead of X11)\n* remembers the last authenticated user\n* automatically selects the last used session per user\n\n**Note**: The last authenticated user is stored in a cache file in the LightDM user's home directory (e.g. `/var/lib/lightdm/.cache/elephant-greeter/state`), similar to [Slick Greeter](https://github.com/linuxmint/slick-greeter/blob/ae927483c5dcf3ae898b3f0849e3770cfa04afa1/src/user-list.vala#L1026).\n\n\n## Requirements\n\n* LightDM\n* Python 3.8+\n* [PyGObject](https://pygobject.readthedocs.io/en/latest/index.html): GObject bindings for Python\n* [Cage](https://www.hjdskes.nl/projects/cage/): small wayland compositor for the greeter\n\n**Note**: Please make sure you have all requirements installed, as having a LightDM greeter constantly failing isn't as much fun as it sounds.\n\n\n## Installation\n\nThe greeter can be installed by copying the files to the right places (`make install`) and updating LightDM's configuration file to register the greeter (`/etc/lightdm/lightdm.conf`):\n```ini\n[LightDM]\nsessions-directory=/usr/share/lightdm/sessions:/usr/share/wayland-sessions:/usr/share/xsessions\ngreeters-directory=/usr/local/share/lightdm/greeters:/usr/share/xgreeters\n\n[Seat:*]\ngreeter-session=lightdm-elephant-greeter\n```\n\n**Note**: If you wish to install the files somewhere else, specify them in the `make` command.  \nFor instance, to install the files into subdirectories of `/usr` instead of `/usr/local`, call `make INSTALL_PATH=/usr install`.\nThe `CONFIG_PATH` (default: `/etc`) can be overridden in the same fashion.\n\n\n## Configuration\n\nThe greeter's configuration file (`/etc/lightdm/elephant-greeter.conf`) contains the sections `Greeter` and `GTK`.  \nThe former are basic configuration values that can determine the behavior of the greeter (e.g. override file locations), while the latter are passed directly to GTK (and can be used to e.g. set the GTK theme).\n\nExample configuration file:\n```ini\n[GTK]\ngtk-theme-name=Nordic\ngtk-application-prefer-dark-theme=true\n\n[Greeter]\ndefault-session=sway\nui-file-location=/usr/local/share/elephant-greeter/elephant-greeter.ui\nx-icon-location=/usr/local/share/elephant-greeter/img/X.png\nwayland-icon-location=/usr/local/share/elephant-greeter/img/wayland.png\n```\n\n\n## Additional Notes\n\nThis project used to be called `max-moser-greeter`, until I could finally come up with a better name.\n\n\n## Licenses\n\n* `img/X.svg`: [CC-BY-SA, by Sven](https://commons.wikimedia.org/wiki/File:X.Org\\_Logo.svg)\n* `img/wayland.svg`: [CC-BY, by Kristian Høgsberg](https://commons.wikimedia.org/wiki/File:Wayland\\_Logo.svg)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmax-moser%2Flightdm-elephant-greeter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmax-moser%2Flightdm-elephant-greeter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmax-moser%2Flightdm-elephant-greeter/lists"}