The greeter daemon runs as root without HOME set, so
xdg::BaseDirectories resolved the state dir against root's
environment and never found the user's cosmic-comp output layout.
The greeter therefore came up with the default monitor arrangement
instead of the saved one.
Resolve the home directory from the passwd entry of the user being
described, read ~/.local/state/cosmic-comp/outputs.ron directly, and
fall back to an empty list when the file is absent.
Also revert the two version fields that the 1.3.0 bulk bump rewrote by
mistake: greetd_ipc has no 1.3.0 release, and the crate version is kept
at 0.1.0 to stay consistent with Cargo.lock so --locked builds work.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
- Switch gid and supplementary groups to user's when reading user's
config
- Only show users between UID_MIN and UID_MAX in /etc/login.defs
- Open accountsservice icons with O_NOFOLLOW to explicitly disallow
symlinks
* Add greeter keyboard and user selection
Fixes#37Fixes#38
* Support switching users and add tooltips to icon buttons
* Implement switching users
* Implement keyboard layout switching
* Ensure that user's xkb_config is used