Fomalhaut is a local, WebKitGTK-based greetd display manager and Wayland session locker. It brings fully customizable HTML, CSS, and JavaScript interfaces to both login and lock screens while keeping login authority in greetd and current-user reauthentication in an isolated PAM worker.
Fomalhaut is not a web server. Trusted Rust hosts expose a small, versioned, role-aware protocol to the local theme. Themes never receive the greetd socket, PAM worker, session-lock handle, session commands, or arbitrary process execution capabilities.
Important
Fomalhaut is currently alpha software. The greetd, Cage, and Wayland login path has been tested on real systems, but configuration, theme APIs, and packaging may still change before the first stable release.
| Account selection | Authentication |
|---|---|
![]() |
![]() |
- A polished Nocturne reference theme and a minimal built-in theme.
- Account discovery, avatars, manual username entry, and trusted desktop session selection.
- Multi-step PAM conversations, including password, visible, and arbitrary follow-up prompts.
- Optional, policy-gated power controls through systemd-logind.
- Fractional display scaling and a theme system that can replace the entire login experience.
- An
ext-session-lock-v1locker with one WebView per output, systemd readiness, and fail-closed GTK fallback handling. - A constrained local WebView with remote resources, arbitrary navigation, downloads, pop-ups, and developer tools disabled by default.
Themes can read credentials entered into their own page. Only install themes from sources you trust and have reviewed.
On Arch Linux, install the independently versioned greeter, locker, and Nocturne theme packages from the AUR:
paru -S --removemake greetd-fomalhaut fomalhaut-lock fomalhaut-theme-nocturneThis is the recommended installation command. --removemake removes temporary
build dependencies that were installed for the AUR build after installation
succeeds; runtime dependencies remain installed. yay can be used in place of
paru with the same option. The packages install their binaries, runtime
dependencies, PAM policy, locker user unit, and integration examples. They
intentionally do not overwrite /etc/fomalhaut/config.toml or
/etc/greetd/config.toml; without a Fomalhaut configuration the applications
use safe defaults and the embedded minimal theme. The AUR theme contains only
static runtime assets; npm and Node.js are removed with the other temporary
build dependencies. Enable it explicitly with:
[themes]
default = "nocturne"Fomalhaut is a greeter for greetd; the package does not replace or restart your
display manager. Review and merge the example installed at
/usr/share/doc/greetd-fomalhaut/greetd-config.toml into
/etc/greetd/config.toml, then disable the existing display manager before
enabling greetd:
sudo systemctl disable <current-display-manager>.service
sudo systemctl enable greetd.serviceDo not enable two display managers at once. Reboot after configuring the services, or start greetd only when it is safe to end the current graphical session. pacman repeats this reminder after greeter installation and upgrades, but never changes the services itself.
For the recommended migration, install the AUR application packages first (and the theme package if desired), update the existing checkout, and then run:
./uninstall.shThe same script is also the normal source-install uninstaller and can run
without either AUR package. It removes source-installed files below
/usr/local, including verified source-managed Nocturne releases, while keeping
the existing Fomalhaut and greetd configuration by default. When the AUR theme
is present it migrates exact old source-theme selectors to nocturne; an AUR
greeter switches the preserved greetd command to /usr/bin/fomalhaut, and an
AUR locker-owned PAM policy is never removed. Deleting unowned configuration
always requires confirmation,
and a non-interactive run keeps it. The script does not restart greetd, and user
niri or swayidle configuration that explicitly names
/usr/local/bin/fomalhaut-lock must be updated separately.
The source installer builds the greeter, locker, and Nocturne theme; installs the PAM policy and systemd user unit; and updates the Fomalhaut and greetd configuration files.
You will need:
- Linux with greetd, Cage, D-Bus, PAM, GTK 4, gtk4-layer-shell, and WebKitGTK 6.0;
- the latest stable Rust toolchain with Cargo;
- Bun canary and Git; and
- a regular user account with
sudoaccess for system installation.
On Arch Linux, the installer can install missing system packages through
paru, yay, or pacman. Rust and Bun must still be installed separately. On
other distributions, install the equivalent build and runtime packages first.
git clone https://github.com/noctisynth/fomalhaut.git
cd fomalhautImportant
Set the display scale explicitly during installation. The greeter runs in its
own Cage session and often needs 1.5 or 2.0 on a HiDPI display, while the
locker already runs inside the desktop compositor's scaled coordinate space
and normally uses 1.0. Pass --greeter-scale and --locker-scale together,
or use --display-scale when both roles genuinely need the same value. The
accepted range is 0.5 through 4.0.
Build and install Fomalhaut with the scale appropriate for your display:
./install.sh --greeter-scale 1.5 --locker-scale 1.0The installer does not enable greetd automatically. From a text console, or after saving any work in your current graphical session, enable and start it:
sudo systemctl enable --now greetd.serviceInstall Fomalhaut without using --restart:
./install.sh --greeter-scale 1.5 --locker-scale 1.0Save your work and switch to a text console. Check which display manager is in use, disable and stop that service, and only then enable greetd. For example, when migrating from SDDM:
systemctl status display-manager.service
sudo systemctl disable --now sddm.service
sudo systemctl enable --now greetd.serviceReplace sddm.service with the service actually in use, such as gdm.service
or lightdm.service. Do not leave two display managers enabled at the same
time.
By default, this installs:
/usr/local/bin/fomalhaut/usr/local/bin/fomalhaut-lock/usr/local/lib/systemd/user/fomalhaut-lock.service/usr/local/share/doc/fomalhaut-lock/niri.kdl/usr/local/share/doc/fomalhaut-lock/swayidle.conf/etc/pam.d/fomalhaut-lock/usr/local/share/fomalhaut/themes/nocturne/etc/fomalhaut/config.toml/etc/greetd/config.toml
The installer does not inspect or change display-manager service enablement.
The --restart option is intended only for updates on a system that already
uses greetd; it restarts the service but does not enable it:
./install.sh --greeter-scale 1.5 --locker-scale 1.0 --restartUse ./install.sh --help to see shared and per-role scale, UI language, cursor
size, greeter account, installation prefix, and staging options. See the
configuration and installation guide for the complete
setup and upgrade behavior.
After greetd starts Fomalhaut, select a discovered account or choose manual sign-in, select an available desktop session, and answer the prompts supplied by your system's PAM configuration. Fomalhaut hands the authenticated session back to greetd and exits once the desktop starts.
If applications prompt to unlock the login keyring after switching to greetd, configure the keyring service used by your desktop in greetd's PAM stack. See login keyring setup and troubleshooting for common keyring services, an Arch Linux configuration example, and checks for repeated prompts.
System configuration lives at /etc/fomalhaut/config.toml. It controls the
theme, UI locale override, display scale, account provider, session search
paths, and optional power actions. The format, greetd/Cage example, and external
theme setup are documented
in the configuration guide.
Inside a supported Wayland session, reload the installed user unit and start a lock with verifiable readiness:
systemctl --user daemon-reload
systemctl --user start fomalhaut-lock.serviceThe command returns only after the compositor confirms the session lock. The niri shortcut, compositor-neutral swayidle command, PAM policy, compatibility limits, and upgrade behavior are in the configuration guide.
See the technical design for the workspace layout, component responsibilities, protocol, and security boundaries.
See CONTRIBUTING.md for the development setup, checks, and pull request workflow.
Fomalhaut is licensed under the
GNU Affero General Public License v3.0 only (AGPL-3.0-only).

