Unable to log back into GNOME session on Fedora 42 after login on Xfce session

Hi everyone,

I have installed both GNOME and Xfce on my laptop. GNOME is my main environment and from time to time I switch to Xfce. Unfortunately, after upgrading to Fedora 42, I found out that after logging in to Xfce, I’m not able to log in again to the GNOME session. I’ve done some research and found a solution to remove the .config/dconf folder, which solves the login issue, but then I have to set up my environment as if I were a new user.

Is there another solution to use both desktop environments?

Thank you in advance!

Kalin

I think this has something todo with the GDM and not allowing x sessions anymore.

There will be an update about gdm soon which should solve the x11 login problem.

Please check for update and give feedback if changed something.

Hi ilikelinux,

Thank you for your prompt reply. At first I’ve updated the system and after that I’ve executed the command from the link. The command returned “Nothing to do”. Despite that I’ve logged in Xfce session and tried to log back to GNOME. Unfortunately I was sill unable to log back.

Best Regards!

Kalin

Did you check with sudo dnf info gdm if it shows you the right version?

gdm-48.0-3

Otherwise you have to wait till it get into stable. Then it will be installed automatically.

Yes, the version is 48.0-3 and the issue still exists

1 Like

Have you get some error from gdm?

journalctl --no-tail --no-hostname -S "today" -p err

Or 

journalctl --no-tail --no-hostname -S "today"  |grep -i gdm

Yes, these are all errors about gdm since last update:
апр 24 15:43:18 gdm[1322]: Gdm: Failed to list cached users: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable
апр 24 15:55:24 /usr/libexec/gdm-x-session[5305]: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
апр 24 15:55:24 /usr/libexec/gdm-x-session[5305]: (II) modeset(0): First detailed timing is preferred mode
апр 24 15:55:24 /usr/libexec/gdm-x-session[5305]: (II) modeset(0): Preferred mode is native pixel format and refresh rate
апр 24 15:55:25 /usr/libexec/gdm-x-session[5318]: Errors from xkbcomp are not fatal to the X server
апр 24 15:55:27 /usr/libexec/gdm-x-session[5645]: ModuleNotFoundError: No module named ‘dnfdaemon’
апр 24 15:55:32 /usr/libexec/gdm-x-session[5601]: ERROR:abrt-applet-application.c:525:action_restart: assertion failed: (app != NULL)
апр 24 15:55:32 /usr/libexec/gdm-x-session[5601]: Bail out! ERROR:abrt-applet-application.c:525:action_restart: assertion failed: (app != NULL)
апр 24 15:58:43 /usr/libexec/gdm-x-session[2591]: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
апр 24 15:58:43 /usr/libexec/gdm-x-session[2591]: (II) modeset(0): First detailed timing is preferred mode
апр 24 15:58:43 /usr/libexec/gdm-x-session[2591]: (II) modeset(0): Preferred mode is native pixel format and refresh rate
апр 24 15:58:43 /usr/libexec/gdm-x-session[2605]: Errors from xkbcomp are not fatal to the X server
апр 24 15:58:46 /usr/libexec/gdm-x-session[2977]: ModuleNotFoundError: No module named ‘dnfdaemon’
апр 24 15:59:01 /usr/libexec/gdm-x-session[4043]: libva error: /usr/lib64/dri/iHD_drv_video.so init failed
апр 24 15:59:06 /usr/libexec/gdm-x-session[4043]: [4038:4131:0424/155906.704685:ERROR:registration_request.cc(291)] Registration response error message: DEPRECATED_ENDPOINT
апр 24 15:59:30 /usr/libexec/gdm-x-session[4043]: [4038:4131:0424/155930.878065:ERROR:registration_request.cc(291)] Registration response error message: DEPRECATED_ENDPOINT
апр 24 16:00:12 /usr/libexec/gdm-x-session[4043]: [4038:4131:0424/160012.856300:ERROR:registration_request.cc(291)] Registration response error message: DEPRECATED_ENDPOINT
апр 24 16:01:49 /usr/libexec/gdm-x-session[4043]: [4038:4131:0424/160149.616055:ERROR:registration_request.cc(291)] Registration response error message: DEPRECATED_ENDPOINT
апр 24 16:05:10 /usr/libexec/gdm-x-session[4043]: [4038:4131:0424/160510.174167:ERROR:registration_request.cc(291)] Registration response error message: DEPRECATED_ENDPOINT
апр 24 16:11:13 gdm[1280]: Gdm: Failed to list cached users: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Remote peer disconnected

That should not prevent gdm from loading the GNOME session in Wayland mode. I would expect that gdm can’t load an XFCE session which is X11 still. But I just tested and gdm was able to load an XFCE session with the latest Fedora42 updates applied. Then I tested loading a GNOME session, but that immediately crashed with a core dump. I am not going to investigate this further.