X11 session randomly restarts after boot

Hello,

Requirements:

I have Searched the forum for my issue and found nothing related or helpful
I have checked the Resources category (Resources Index)
I have reviewed the Wiki for relevant information
I have read the the Release Notes and Errata

OpenMandriva Lx version:

OpenMandriva Lx release 25.12 (ROME) Rolling for x86_64

Desktop environment (KDE, LXQT…):

KDE Plasma with SDDM

Description of the issue (screenshots if relevant):

After startup usually within 5-10 minutes the X server dies and the session restarts.

Relevant informations (hardware involved, software version, logs or output…):

output of journalctl -b -u sddm

Dec 24 16:04:20 koalamatic-1800 systemd[1]: Started sddm.service - Simple Desktop Display Manager.
Dec 24 16:04:20 koalamatic-1800 sddm-helper[991]: pam_unix(sddm-greeter:session): session opened for user sddm(uid=106) by (uid=0)
Dec 24 16:04:21 koalamatic-1800 sddm-helper[991]: Starting X11 session: "/usr/bin/X -verbose 3 -background none -seat seat0 -noreset -keeptty -novtswitch" "/usr/bin/sddm-greeter-qt6 --socket /tmp/sddm--lhoMqS --theme /usr/share/sddm/themes/breeze"
Dec 24 16:05:58 koalamatic-1800 sddm-helper[1159]: pam_kwallet5(sddm:auth): pam_kwallet5: pam_sm_authenticate
Dec 24 16:05:58 koalamatic-1800 sddm-helper[1159]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
Dec 24 16:05:58 koalamatic-1800 sddm-helper[1159]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_open_session
Dec 24 16:05:58 koalamatic-1800 sddm-helper[1165]: pam_kwallet5: final socket path: /tmp/kwallet5_koala.socket
Dec 24 16:05:58 koalamatic-1800 sddm-helper[1159]: pam_unix(sddm:session): session opened for user koala(uid=1001) by (uid=0)
Dec 24 16:05:58 koalamatic-1800 sddm[962]: Authentication information: SDDM::Auth::INFO_UNKNOWN "Last failed login: Fri Dec  5 13:28:18 CET 2025"
Dec 24 16:05:58 koalamatic-1800 sddm[962]: Authentication information: SDDM::Auth::INFO_UNKNOWN "There was 1 failed login attempt since the last successful login."
Dec 24 16:05:58 koalamatic-1800 sddm-helper[1159]: Starting X11 session: "/usr/bin/X -verbose 3 -background none -seat seat0 -noreset -keeptty -novtswitch" "/usr/share/X11/xdm/Xsession \"/usr/bin/startplasma-x11\""
Dec 24 16:06:20 koalamatic-1800 ksecretd[1166]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Connection already associated with an application ID")
Dec 24 16:07:18 koalamatic-1800 ksecretd[1166]: The X11 connection broke (error 1). Did the X11 server die?
Dec 24 16:07:18 koalamatic-1800 sddm[962]: Auth: sddm-helper exited with 2
Dec 24 16:07:18 koalamatic-1800 sddm-helper[2117]: pam_unix(sddm-greeter:session): session opened for user sddm(uid=106) by (uid=0)
Dec 24 16:07:18 koalamatic-1800 sddm-helper[2117]: Starting X11 session: "/usr/bin/X -verbose 3 -background none -seat seat0 -noreset -keeptty -novtswitch" "/usr/bin/sddm-greeter-qt6 --socket /tmp/sddm--eMZtzy --theme /usr/share/sddm/themes/breeze"
Dec 24 16:07:23 koalamatic-1800 sddm-helper[2286]: pam_kwallet5(sddm:auth): pam_kwallet5: pam_sm_authenticate
Dec 24 16:07:23 koalamatic-1800 sddm-helper[2286]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
Dec 24 16:07:23 koalamatic-1800 sddm-helper[2286]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_open_session
Dec 24 16:07:23 koalamatic-1800 sddm-helper[2292]: pam_kwallet5: final socket path: /tmp/kwallet5_koala.socket
Dec 24 16:07:23 koalamatic-1800 sddm-helper[2286]: pam_unix(sddm:session): session opened for user koala(uid=1001) by (uid=0)
Dec 24 16:07:23 koalamatic-1800 sddm[962]: Authentication information: SDDM::Auth::INFO_UNKNOWN "Last failed login: Fri Dec  5 13:28:18 CET 2025"
Dec 24 16:07:23 koalamatic-1800 sddm[962]: Authentication information: SDDM::Auth::INFO_UNKNOWN "There was 1 failed login attempt since the last successful login."
Dec 24 16:07:23 koalamatic-1800 sddm-helper[2286]: Starting X11 session: "/usr/bin/X -verbose 3 -background none -seat seat0 -noreset -keeptty -novtswitch" "/usr/share/X11/xdm/Xsession \"/usr/bin/startplasma-x11\""
Dec 24 16:07:25 koalamatic-1800 ksecretd[2293]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Connection already associated with an application ID")

The issue started after the distro-sync that updated to dnf5 (1-2 month ago?) since then i’ve been using my arch laptop and didnt bother to submit an issue to the forum.
Initially i thought it was an SDDM problem, so i swapped it for Ly. Problem was fixed, but so many other things (sound, volume, keyboard, language) broke from plasma that i switched back to SDDM.
After inspecting the journal I think it’s a problem with XLibre, but i don’t know how to inspect the issue further.
Usually after 1 or 2 session restarts the problem doesnt re-occur if I don’t restart the machine.

Nvidia?

https://forum.openmandriva.org/search?q=ROME%20upgrade

If nvidia, check if this is relevant:

Thanks for this, I’m not using nvidia I have an integrated GPU from intel (i’m on a laptop).
I installed x11-driver-video-intel.x86_64 ill see if it helps.

Also I forgot to add the output of inxi -Fz so i’ll upload it this text file
hardware.txt (2.6 KB)

using mesa UHD intel graphics on a Intel Core i5-10210U.

1 Like

Today I got 5 or 6 continuous session crashes, then it stopped crashing.
I dug through the journal. I see tons of QDBusError of KDE serviced, an early core dump of plasmashell which god only knows why it happened, the stack trace is very ugly, and the XLibre server randomly dying for no good reason (that I can find) except this part of the Xorg log file which says
[2025-12-29 18:48:34] _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed [2025-12-29 18:48:34] _XSERVTransMakeAllCOTSServerListeners: server already running
or [2025-12-29 18:48:31] (WW) xf86CloseConsole: KDSETMODE failed: Input/output error [2025-12-29 18:48:31] (WW) xf86CloseConsole: VT_GETMODE failed: Input/output error [2025-12-29 18:48:31] (II) Server terminated successfully (0). Closing log file.

I’ll upload the whole journal from this boot (6k lines) where you can see the things mentioned above (plasmashell - line 2537, QDBusError etc) and the Xorg logs

journal_many_crashes_in_row.txt (1.1 MB)
Xorg.0.log.old.txt (39.9 KB)
Xorg.1.log.txt (38.7 KB)