Skip to content

Historical: Linux-based prototype

Login screen

This page documents the earlier Linux-based prototype as of 24 November 2026. It does not describe the independent Khelforge OS, and its steps are not instructions for it. See the independent Khelforge OS.

ImplementedRecorded statusLast verified

The login screen is what you see before a session starts. It is a separate program from the desktop, run by greetd without extra privileges. It is implemented and tested in the disposable VM. It has not been tested on a real machine’s display.

Sign in
Diagram as text
  1. You to Login screen: account and password
  2. Login screen to System: check password
  3. System: open your home
  4. System to You: start the desktop
  1. Choose an account tile, or type a user name.
  2. Answer the prompts. The screen only relays them and clears the field after sending.
  3. If sign in fails, the message is Incorrect user name or password. It is the same for an unknown name and a wrong password.

After repeated failures the screen waits before the next try, and the waits get longer. Too many failures lock the account for a while. See authentication.

A selector at the bottom lists the installed sessions. A layout line names the keyboard layout in use.

If no account exists, the screen shows Create your account instead of the list. It asks for an optional full name, a user name and a password twice. An option adds an encrypted backup of the recovery key. The account’s recovery key is shown once and must be confirmed as written down. See first boot and recovery keys.

If it was not started by the system in the normal way, has no session to offer, or loses its connection, the screen says that sign in is unavailable. It does not let anyone in.

  • Unit tests for sign-in and first boot.
  • Visual tests for success, failure, unavailable, compact, HiDPI and first-boot layouts, against a stand-in for greetd.
  • A container test of the sign-in rules, which passed.
  • The VM suite signs in by password and by recovery key, and checks layouts other than US.
  • Not checked on a real display.
  • The screen creates only the first account. Further accounts are not implemented.
  • Password strength rules belong to systemd-homed. A weak password is refused when the account is created, and the message asks for a stronger one.

More detail is in Khelforge Login.