The login screen

BlueRune can log you in two ways:

  • BlueRune's own login screen, bluerune-greeter, drawn with the same parts as the lock screen and run by greetd. It lists the accounts (or asks for a name), offers the installed sessions with BlueRune first, remembers who logged in last and their session, shows each step PAM asks for (password, one-time codes, a fingerprint through pam_fprintd), and has suspend, restart and power off. A system installed from the BlueRune ISO starts it at boot, and bluerune-setup offers to enable it where no login screen starts at boot.
  • SDDM with BlueRune's theme (/usr/share/sddm/themes/bluerune). SDDM is optional: the bluerune-desktop package doesn't install it since version 3, and a system that already uses it keeps it.

BlueRune's login screen: a large clock and date, and at the bottom the account, the keyboard layout, a password field, the BlueRune session and the power button

Choosing one

Settings → Login screen → Login manager switches between them. It asks for the administrator's password and changes only what starts at the next boot: the login screen that is up now keeps running until then.

BlueRune's login screen needs greetd (sudo pacman -S greetd; the bluerune-desktop package brings it) and bluerune-greeter (part of bluerune-git). Until both are installed, the choice is shown but can't be made, and says why.

The way back

Should BlueRune's login screen ever fail to come up, switch to SDDM from a text console:

  1. Press Ctrl+Alt+F3 and log in.
  2. If SDDM isn't installed, install it: sudo pacman -S sddm (this needs a network connection).
  3. Run sudo systemctl enable --force sddm.
  4. Restart (systemctl reboot).

If greetd's greeter keeps failing, greetd starts it again a few times and then gives up; the console stays reachable the whole time.

How it looks

The look options on the Login screen page apply to both login screens:

  • This session's accent and light or dark, pointer, font and scale, and the accounts listed (lowest and highest account id, hidden accounts and shells, remembering the last user) are SDDM's settings as before. Once BlueRune's login screen has a look of its own, each of these changes is written to its file too, in the same password prompt.
  • Use this session's look on the BlueRune login screen line gives it this session's accent, light or dark, interface font, clock font and weight, wallpaper, 24-hour clock, keyboard layout and accessibility (reduce motion, high contrast), with the accounts listed as SDDM lists them. BlueRune's SDDM theme gets the same colours in the same change. Remove takes it all away, and the greeter looks as it does by itself.

Its files

File Owner What
/etc/bluerune/greeter.toml root, written by Settings The look, below
/var/lib/bluerune-greeter/wallpaper.{png,jpg,webp} root, readable by all A copy of the wallpaper: the greeter can't read anyone's home
/var/cache/bluerune-greeter/state.toml greeter The last user, and each user's last session
/var/cache/bluerune-greeter/home/ greeter What the login screen's Hyprland writes

greeter.toml is rewritten whole on every change. Every key is optional; a missing file is the defaults:

accent = "#3d7eff"            # #rrggbb
mode = "dark"                 # or "light"
wallpaper = "/var/lib/bluerune-greeter/wallpaper.png"
font = "Inter"                # a family fontconfig lists for everyone
clock_font = "Gabarito"       # the clock's family; "" is the interface font, as is one not installed
clock_font_weight = 800       # 1 to 1000; the date is lighter
clock_24h = false
show_user_list = true         # false: type a name
minimum_uid = 1000
maximum_uid = 60000
hidden_users = []
hidden_shells = []            # accounts with one of these shells aren't listed
default_session = "bluerune"  # a .desktop file's name in /usr/share/wayland-sessions
remember_last_user = true
keyboard_layout = "us"        # XKB layouts, joined by commas
reduce_motion = false
high_contrast = false

The wallpaper Settings hands over must be a PNG, JPEG or WebP image of at most 32 MB and 16384 pixels each way. Settings opens the file and passes it to the helper already open, so the helper never reads a path of yours.

BlueRune's SDDM theme

BlueRune's SDDM theme (/usr/share/sddm/themes/bluerune, for SDDM 0.21 with Qt 6) looks like BlueRune's lock screen: the clock, your account and its picture, the password field, a Caps Lock hint, the keyboard layout, pickers for the account and the session, and suspend, restart and shut down. A wrong password shakes the field.

  • Choose it: Settings > Login screen > Theme lists BlueRune first. It shows at the next login. Each change asks for the administrator's password.
  • Its colours: Settings > Login screen > This session's accent and light or dark > Use on the login screen gives it your accent and light or dark; Theme's own takes them back (BlueRune's blue, dark). They are kept in /etc/bluerune/sddm-theme.conf, which the theme's theme.conf.user links to.
  • By hand: theme.conf in the theme's directory also takes a background picture (background=, blurred and dimmed by blur= and dim=), the font and the clock's and date's formats. Updates replace that file; the colours in /etc/bluerune stay.
  • Try it without logging out: sddm-greeter-qt6 --test-mode --theme /usr/share/sddm/themes/bluerune opens it in a window (logging in does nothing there).

How it is put together

  • greetd runs as greetd.service. BlueRune never edits /etc/greetd/config.toml: choosing BlueRune's login screen writes the drop-in /etc/systemd/system/greetd.service.d/bluerune.conf, which starts greetd with --config /usr/share/bluerune/greetd/config.toml, and runs systemctl enable --force greetd, which points display-manager.service at greetd. Choosing SDDM takes the drop-in away and runs systemctl enable --force sddm. Nothing is started or stopped.
  • /usr/share/bluerune/greetd/config.toml runs the greeter on the first console as the greeter account: start-hyprland with /usr/share/bluerune/greetd/hyprland.lua, a compositor config with no binds, no animations and no update news, which runs bluerune-greeter on every monitor and ends when the greeter does. Switching consoles with Ctrl+Alt+F1…F12 stays Hyprland's own.
  • After a successful login the greeter asks greetd to start the chosen session's Exec, with XDG_SESSION_TYPE, XDG_SESSION_DESKTOP and XDG_CURRENT_DESKTOP from its desktop file, and exits; greetd starts the session once the greeter's Hyprland is gone.
  • The package declares the greeter account as greetd's own package does (/usr/lib/sysusers.d/bluerune-greeter.conf) and makes the directories above (/usr/lib/tmpfiles.d/bluerune-greeter.conf).

Setting it up by hand

Without Settings, as root:

install -Dm644 /usr/share/bluerune/greetd/greetd-bluerune.conf \
  /etc/systemd/system/greetd.service.d/bluerune.conf
systemctl enable --force greetd

and to undo it, rm /etc/systemd/system/greetd.service.d/bluerune.conf and systemctl enable --force sddm.

Troubleshooting

  • The choice is greyed out. Its reason says what is missing: greetd, or bluerune-greeter and its files under /usr/share/bluerune/greetd/.
  • Nothing changed after switching. The switch takes effect at the next boot.
  • The greeter's log. journalctl -b -u greetd has greetd's and the greeter's output; the login screen's Hyprland log is under /run/user/<greeter's uid>/hypr/.
  • Settings shows "greetd" as the login manager. greetd starts at boot but without BlueRune's drop-in, so with its own /etc/greetd/config.toml. Choosing BlueRune writes the drop-in.