Skip to content

Wayland login managers

Greetd

Install:

paru greetd

Setup:

Steps:

sudo systemctl -f enable greetd.service
sudo systemctl -f start greetd.service

Login flow:

  • Greetd starts, using /etc/greetd/config.toml
  • Greetd starts greeter using default.command (i.e. tuigreet)
  • Greeter offers sessions configured in /usr/share/wayland-sessions/

Auto-login Add to greetd/config.toml:

[initial_session]
command = "sway-user-service"
user = "varac"

Greeters

  • QtGreet
  • Recent commits
  • Supports Shut down, reboot
  • No Xorg deps

tuigreet

  • Github
  • Default greeter in Manjaro-sway
  • Stale, last commit 2022-07

Keyboard layout

tuigreet uses /etc/vconsole.conf for keyboard layout. For german keyboard:

~ $ cat /etc/vconsole.conf
# https://man.archlinux.org/man/vconsole.conf.5.en
KEYMAP=de-latin1
FONT=eurlatgr
FONT_MAP=

wlgreet

  • wlgreet Works, but last commit 6 month ago

Install:

paru greetd-wlgreet

Setup:

Issues:

  • No options to reboot, shutdown etc.
  • I can't find any option to set the keyboard layout

SDDM

SDDM wayland support

  • For proper Wayland support sddm-git is needed until a new release is made >0.19.0
  • See also:
  • Beware: Compiling sddm-git won't work on Asahi Linux
  • Also: By default SDDM still uses a Xorg session for the greeter, even when it starts a wayland session afterwards.
    • I didn't want to configure a german keyboard using Xorg files.
    • Starting sddm in native wayland mode didn't work for me, so I decided to switch to greetd

Install:

paru -S sddm-git