Debian, Ubuntu and Fedora
Each release carries .deb (amd64, arm64) and .rpm (x86_64, aarch64) packages. Install lys-login with lys-wm and, optionally, lys-secrets, from the same release:
# Debian, Ubuntu (arm64: _arm64.deb)
sudo apt install ./lys-login_<version>_amd64.deb ./lys-wm_<version>_amd64.deb
# Fedora (aarch64: .aarch64.rpm)
sudo dnf install ./lys-login-<version>-*.x86_64.rpm ./lys-wm-<version>-*.x86_64.rpm| Debian, Ubuntu | Fedora | |
|---|---|---|
| Depends | libpam0g, libpam-systemd, xkb-data, systemd | pam, xkeyboard-config, systemd, policycoreutils |
| Recommends | lys-wm, lys-secrets, polkitd, libvulkan1, mesa-vulkan-drivers | lys-wm, lys-secrets, polkit, vulkan-loader, mesa-vulkan-drivers |
lys-wm renders with Vulkan; on a card without a Vulkan driver, such as a VM's virtio-gpu, put LYS_WM_RENDERER=lavapipe in /etc/environment (Rendering without a GPU).
What it installs
/usr/bin/lys-login;lys-login.service: the daemon on VT 1 with/usr/bin/lys-wm,Alias=display-manager.service, installed but not enabled;- the
lys-greetersystem user (sysusers.d) and/var/lib/lys-greeter(tmpfiles.d); - the PAM services
lys-login,lys-login-autologin,lys-login-fingerprintandlys-shell(PAM services); - the polkit action
dev.stubbe.lys.login.apply-config(Change the login screen).
On Fedora with SELinux enabled, /usr/bin/lys-login is labelled xdm_exec_t; the label is removed on uninstall.
Enable
sudo systemctl disable gdm # or your current display manager
sudo systemctl enable lys-loginIt starts with graphical.target; on a system that boots to multi-user.target also run sudo systemctl set-default graphical.target. Reboot, or stop the old display manager (ending its session) and start lys-login. To revert, disable lys-login and enable the old one.
The greeter reads /etc/lys-shell/config.yaml, which the package does not create; see Configuration.
The unit's arguments live in LYS_LOGIN_DAEMON_ARGS (Command line). To autologin, override it with a drop-in (systemctl edit lys-login) that adds --autologin USER.
Lock screen
Set the packaged PAM service in your lys-shell config (on Fedora the default system-auth also works):
login:
lock:
pam-service: lys-shellUpgrades
Upgrading the package reloads a running lys-login.service, which upgrades the daemon in place. If that fails the old daemon keeps running, the package still installs and prints a notice; the reason is in journalctl -u lys-login. Retry with sudo systemctl reload lys-login.
lys-splash
The unit hands the screen over from lys-splash without a blank frame when it is installed at /usr/bin/lys-splash, and skips those steps otherwise. The greeter's first frame is then the splash's last one, and the login screen fades in over it (Taking over from the splash).