Historical: Linux-based prototype
Khelforge Login
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.
Khelforge Login is the program that runs before a session exists. The login screen page describes what a person sees. This page covers what the program may do and what its tests show. It is implemented and verified in the disposable VM.
The program runs without extra privileges. The login manager greetd and the system’s own sign-in rules check the password and start the session. Login itself learns only whether the password was accepted, and it never creates a session.
On first boot it asks the account service to create the first account.
What it reads
Section titled “What it reads”- The list of accounts that a person can sign in to.
- The installed sessions.
- The keyboard layout, to show its name.
Security boundaries
Section titled “Security boundaries”- The answer field is cleared as soon as it is sent.
- The failure message is the same for an unknown account and a wrong password.
- Account creation is refused when an account already exists.
- The real limit on password attempts is enforced by the system, not by this screen. See authentication.
How it was tested
Section titled “How it was tested”| Test | What it shows |
|---|---|
| Unit tests | Sign-in states, retry delay, first boot, recovery backups |
| Visual tests | Success, failure, unavailable, first boot, compact and HiDPI layouts against a stand-in greetd |
| Container tests | The real sign-in rules passed |
| VM suite | Sign in with password and recovery key, refused sign in, first boot, return after a crash |
Known limitations
Section titled “Known limitations”- Not tested on a real display or with a real graphics driver.
- Only the first account can be created. Further accounts are not implemented.
- If it is not started by greetd, it shows sign in as unavailable.
Troubleshooting
Section titled “Troubleshooting”| Symptom | Explanation |
|---|---|
| Sign in unavailable | It was not started by greetd, no session is installed, or the connection closed |
| A password is refused at first boot | It does not meet the quality rules of systemd-homed. The message asks for a stronger one |
| The password is right but refused | A locked or expired account, or a keyboard layout that differs from what you expect |
| The account creation did not finish | Restart. If the account is listed, sign in and create a new recovery key in Settings |
What is planned
Section titled “What is planned”Online account features are a separate later milestone. Fast user switching is not done.