login/

directory
v0.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2026 License: MIT, MIT

README

lys-login

lys-login

The display manager, greeter and lock screen of lys, in pure Go.

Documentation

Command What it is
lys-login daemon The display manager: a root service that shows the greeter in a lys-wm kiosk and starts sessions through PAM.
lys-login greet The greeter, under lys-login daemon or under greetd in a cage kiosk.
lys-login lock The session lock on ext-session-lock-v1, started by lys-shell.
lys-login upgrade Moves the running display manager to a new build without ending sessions.

Both screens read the login section of the lys-shell config. A successful login or unlock opens the login collection of lys-secrets, else gnome-keyring.

Install

The manual's install section covers NixOS (lys.nixosModules.lys-login with programs.lys-login.greeter.enable = true), the Debian, Ubuntu and Fedora packages, the tarball and the greeter under greetd. lys-login's own pages cover NixOS, the packages and other systems, then configuration, PAM setup and architecture.

License

MIT. See LICENSE.

Directories

Path Synopsis
cmd
lys-login command
Command lys-login is the login screen: one screen in two modes.
Command lys-login is the login screen: one screen in two modes.
Package dmsocket is the wire of lys-login's display manager sockets: one JSON request per connection and one Reply, the file the request went to or a Refusal and its reason.
Package dmsocket is the wire of lys-login's display manager sockets: one JSON request per connection and one Reply, the file the request went to or a Refusal and its reason.
Package greeterconfig is what a user may change of the login screen the system shows: the login keys config.GreeterApplyKeys names and a background image, written to the runtime.yaml beside the greeter's system config, never to config.yaml itself.
Package greeterconfig is what a user may change of the login screen the system shows: the login keys config.GreeterApplyKeys names and a background image, written to the runtime.yaml beside the greeter's system config, never to config.yaml itself.
internal
auth
Package auth is the backend-agnostic authentication conversation (crates/wayle-auth): a backend — PAM for the lock screen, greetd for the greeter — asks one or more questions (password, OTP, "your password expired, enter a new one") and the UI answers each in turn.
Package auth is the backend-agnostic authentication conversation (crates/wayle-auth): a backend — PAM for the lock screen, greetd for the greeter — asks one or more questions (password, OTP, "your password expired, enter a new one") and the UI answers each in turn.
cursorrecord
Package cursorrecord is the record of the cursor each user's last session showed, which the display manager keeps for the greeter.
Package cursorrecord is the record of the cursor each user's last session showed, which the display manager keeps for the greeter.
dm
Package dm is the login screen's display manager: `lys-login daemon`, run as root by its system service on a VT, shows the greeter there and starts the session a user logs in to.
Package dm is the login screen's display manager: `lys-login daemon`, run as root by its system service on a VT, shows the greeter there and starts the session a user logs in to.
greeter
Package greeter is `lys-login greet`: the login screen in its greeter mode, as a greetd greeter.
Package greeter is `lys-login greet`: the login screen in its greeter mode, as a greetd greeter.
keyboard
Package keyboard reads the system's keyboard layout for the greeter's compositor: systemd-localed's X11 keyboard, else the files localed reads it from.
Package keyboard reads the system's keyboard layout for the greeter's compositor: systemd-localed's X11 keyboard, else the files localed reads it from.
layouts
Package layouts names a keymap's layouts the short way a layout chip shows them, from the rules list of xkeyboard-config.
Package layouts names a keymap's layouts the short way a layout chip shows them, from the rules list of xkeyboard-config.
lock
Package lock is the login screen in its lock mode: an ext-session-lock surface per output, so the compositor blanks every output, routes input only here, and keeps the session locked if the shell dies.
Package lock is the login screen in its lock mode: an ext-session-lock surface per output, so the compositor blanks every output, routes input only here, and keeps the session locked if the shell dies.
screen
Package screen is the login screen: one screen the greeter shows before login and the lock screen shows over a locked session, built by the same code (Build) and styled by the same lock.css rules, so the two look and behave alike.
Package screen is the login screen: one screen the greeter shows before login and the lock screen shows over a locked session, built by the same code (Build) and styled by the same lock.css rules, so the two look and behave alike.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL