GDM traps on service start with Fedora 42

Hey,

I’ve ran a system update on Fedora 42 Workstation (GNOME) and GDM throws a trap on boot:

Additionally this makes NetworkManager not start. I can start Sway from this state, but it does not start XWayland if I do.

I am unable to downgrade to a working state due to facts and circumstances involving RPMFusion not keeping old copies of packages for some reason.

How should I debug this?

I added debug logs to the mix, no debug logs were emitted. I managed to get into a graphical session with lightdm.

/etc/systemd/system/gdm.service.d/override.conf

[Service]
Environment=G_MESSAGES_DEBUG=all

What version of the gdm package do you have installed? Fedora 42 disabled X11 support for some versions of the package. Tthat could result in this error if only X11 sessions are available for some reason.

dnf info says this is installed: gdm-48.0-3.fc42.x86_64

When I got in via lightdm, the terminal reports I am in a wayland session:

$ env | grep -i wayland
WAYLAND_DISPLAY=wayland-0
XAUTHORITY=/run/user/1000/.mutter-Xwaylandauth.8OYU52
XDG_SESSION_TYPE=wayland

Additionally, /usr/share/wayland-sessions reports wayland sessions are available:

$ ls /usr/share/wayland-sessions/ | cat
gnome-classic.desktop
gnome-classic-wayland.desktop
gnome.desktop
gnome-wayland.desktop
sway.desktop
sway-nvidia.desktop

Additionally, no files are present in /usr/share/xsessions:

ls -la /usr/share/xsessions 
total 0
drwxr-xr-x. 1 root root    0 Jan 15 19:00 .
drwxr-xr-x. 1 root root 5840 Apr 30 15:51 ..

In that case you are probably missing the gnome-session-xsession package.

I was indeed missing that package. Is there a “globally reinstall all selected groups” command so I can fix any of the other problems that may have crept in?

sudo dnf group install workstation-product-environment might help, but I’m not sure if gnome-session-xsession would have been installed by that. It is only needed on systems where gdm does not use Wayland and Fedora 42 dropped support for X11 sessions in the default Workstation spin.

1 Like

Installing gnome-session-xsession made GDM not work in Wayland mode, it’s only starting x11 sessions now. I’m probably going to blow away Fedora and install Arch.

Can you make a bug report on Red Hat Bugzilla? That doesn’t sound normal.

I can, but I’d need to know what commands I need to run before tomorrow afternoon. I plan to blow away Fedora then and I will not have a backup of the exact system state that is causing these issues.