Repository navigation
SDDM autologin breaks after installing devenv/nix - fix by setting DisplayServer=wayland... ? #3931
andrewbohm
started this conversation in
Suggestions
Replies: 1 comment
|
Thanks, I'm having an issue where sometimes the SDDM login manager shows up instead of autologging into hyprland. I'll try adding this the next time it happens and see if it resolves that. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
SDDM autologin stopped working after installing devenv/nix
What happened
After installing devenv/nix, SDDM stopped auto-logging in and showed the login screen with all the nixbld users listed.
Looking at the logs, it seemed like the autologin was actually succeeding, but then Xorg was crashing:
sddm-helper[1574]: Starting Wayland user session: "/usr/share/sddm/scripts/wayland-session" "uwsm start -- hyprland.desktop"
sddm[1114]: Session started true
systemd-coredump[1586]: Process 1138 (Xorg) of user 0 dumped core.
What fixed it
I added
DisplayServer=waylandto/etc/sddm.conf.d/autologin.confand that resolved it:My understanding is that SDDM defaults to X11 for the greeter, even when the session is Wayland. Setting it to wayland mode bypasses that entirely.
Question
Would it make sense to include DisplayServer=wayland in the default omarchy SDDM config? I'm not sure if there's a reason it's not set that way already, but wanted to share in case it helps others.
All reactions