Auto-login logs into X11 session, when it should be Wayland

bazzite-gnome 38.20231101.0 I've turned off auto-login, confirmed that my preferred session type is set to Wayland in GDM, and turned it back on again, but after rebooting it ends up logging into an X11 session anyway. Is there some way to change this behaviour?
6 Replies
1/4 Life
1/4 Life8mo ago
Auto login uses /etc/default/wayland-desktop It's x11 by default at the moment due to steam input not working with Wayland
CyanLime
CyanLime7mo ago
Thanks for the info. I tried changing it but it resets back after each update. Is there a way I can properly toggle it?
EyeCantCU
EyeCantCU7mo ago
When you change something in /etc, it should hold up between updates
CyanLime
CyanLime7mo ago
Ah true, it is still there. I must have missed it. Nonetheless, autostart still logs into X11 I created a file at
/etc/default/desktop-wayland
/etc/default/desktop-wayland
with the contents
DESKTOP_WAYLAND=true
DESKTOP_WAYLAND=true
but it doesn't seem to make a difference
EyeCantCU
EyeCantCU7mo ago
Just to clarify - are you on the Deck variant or Desktop variant? Desktop hasn't used this file in a while and relies on the DEs for autologin themselves
CyanLime
CyanLime7mo ago
It's desktop. I do have it set to Wayland (Gnome as opposed to Gnome on Xorg) in GDM, and being Fedora & Gnome, if auto-login was going to choose something independently of my GDM choice, I would have thought it'd be Wayland anyway :S I'll have to check if the behaviour is the same on the non-bazzite gnome image