Skip to content

feat(bgrt-theme): log in by itself whoever unlocked the disk - #19

Merged
lbssousa merged 1 commit into
multiuserfrom
feat/bgrt-login-once
Nov 10, 2026
Merged

lbssousa merged 1 commit into
multiuserfrom
feat/bgrt-login-once

Conversation

@lbssousa

@lbssousa lbssousa commented Nov 5, 2026

Copy link
Copy Markdown
Owner

Why

lbssousa/omarchy-multiuser#13 replaces SDDM's automatic login with a login the greeter makes itself as it comes up. An empty password goes through omarchy-mu-login-once, once, for whoever unlocked the disk. That desktop then gets a console of its own, so switching users needs no logout. The BGRT greeter replaces omarchy-multiuser's on this machine, so it has to make the same try.

Change

  • playbooks/files/omarchy-bgrt-sddm/Main.qml: the same try as omarchy-multiuser's greeter. On start it calls sddm.login(lastUser, "") once and shows nothing if it fails. An Enter pressed meanwhile is sent afterwards.
  • playbooks/files/omarchy-bgrt-sddm/Password.js: the copy gains autoLoginUser().

Depends on

omarchy-multiuser#13, released and deployed. With an older omarchy-multiuser, no PAM line takes the empty password, so each greeter start counts as one failed login. Merge after that release, together with bumping omarchy_multiuser_ref.

Testing

  • just check
  • qmllint (no warnings with --unqualified disable) and sddm-greeter-qt6 --test-mode offscreen with no QML errors
  • just apply bgrt-theme with omarchy-multiuser#13's package installed
  • Reboot test, as in omarchy-multiuser#13

🤖 Generated with Claude Code

From omarchy-multiuser 0.12.0 on, the disk prompt's choice is no longer
SDDM's automatic login: the greeter logs that person in as it comes up,
with an empty password that omarchy-mu-login-once lets through once,
so the desktop gets a console of its own and switching users needs no
logout. The BGRT greeter, which replaces omarchy-multiuser's, makes the
same try, and its copy of Password.js gains autoLoginUser().

With an older omarchy-multiuser, no PAM line takes the empty password,
which then counts as a failed login at each greeter start.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lbssousa
lbssousa merged commit 927a2dd into multiuser Nov 10, 2026
1 check passed
@lbssousa
lbssousa deleted the feat/bgrt-login-once branch November 10, 2026 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant