omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

Passwordless Login rejects unencrypted root drives

Open grold opened this issue 2 days ago • 1 comments

System details

Omarchy (quattro), unencrypted Btrfs root installation using greetd

What's wrong?

Setup > Security > Passwordless Login (omarchy-setup-security-passwordless-login, introduced in #20406 and extended to sleep/lid-close in #20448) rejects any installation whose root drive is not encrypted with LUKS:

Your root drive is not encrypted with LUKS. Passwordless login only applies to encrypted disks.

On unencrypted Omarchy installations, omarchy-provision-owner drops greetd autologin after the first boot via omarchy-provision-autologin-once.service, so users still have a greetd password prompt on boot as well as lock prompts on sleep/lid-close (omarchy-system-sleep-lock and omarchy-system-lid-close both gate on omarchy-setup-security-passwordless-login --active).

Steps to reproduce:

  1. Boot an unencrypted Omarchy installation (where root_luks_device is empty and greetd is configured without [initial_session]).
  2. Run omarchy-setup-security-passwordless-login (or open Setup > Security > Passwordless Login).
  3. It exits 1 with "Your root drive is not encrypted with LUKS. Passwordless login only applies to encrypted disks."

Expected behavior: Setup > Security > Passwordless Login should also support unencrypted root drives (for Next boot, Next 3 boots, and Always) by managing greetd autologin via omarchy-system-login and allowing passwordless wake from sleep while active.


Assisted by Gemini 4 Hydrogen (Reasoning: Medium)

grold avatar Dec 04 '26 13:12 grold

More info that might help. I had passwordless login working on my unencrypted omarchy install, but upgrading to 4.6 broke it.

Basically, Omarchy 4.6 replaced SDDM with greetd (migration '1795834060.sh').

Migration apparently only looks for autologin.conf and not 20-autologin.conf.

Ran:

omarchy-system-login --autologin

and added to the bottom of /etc/greetd/config.toml:

[initial_session] command = "/usr/share/omarchy/default/splash/login-session" user = ""

jeffsauer avatar Dec 05 '26 20:12 jeffsauer