This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Session restore partially broke in recent update

Tags: kde, plasma kde, plasma kde, plasma
(comma "," separated)
simoneviozzi
Registered Member
Posts
1
Karma
0
In a recent update my session save / restore partially broke:
i have programs that didn't change behavior like Dolphin, and programs that before the update where restored but not after, like:
- Konsole
- Spotify
- mpv

And the most annoying is firefox that isn't restored property and display error "Firefox is already running but is not responding". Sometimes it restore correctly if i log out and log in back, sometimes spawn two separate firefox process.

i checked the file ".config/ksmserverrc" and the folder ".config/session/", i have entry for firefox but not for Konsole or Spotify.

Any idea what broke on my system?
Where i should look to see what happen? there are any logs?

Operating System: Manjaro Linux x86_64
KDE Plasma Version: Plasma 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Kernel Version: 5.10.15-1-MANJARO
OS Type: 64-bit

i maybe found something searching for ksmserver in journalctl:
Code: Select all
-- Journal begins at Fri 2020-12-04 01:01:54 CET, ends at Thu 2021-02-11 17:43:53 CET. --
feb 10 16:02:32 simone-main dbus-daemon[1352]: [session uid=1000 pid=1350] Activating service name='org.freedesktop.systemd1' requested by ':1.12' (uid=1000 pid=1648 comm="/bin/ksmserver ")
feb 10 16:11:14 simone-main dbus-daemon[1204]: [session uid=1000 pid=1204] Activating service name='org.kde.Shutdown' requested by ':1.13' (uid=1000 pid=1535 comm="/usr/bin/ksmserver ")
feb 10 16:11:25 simone-main ksmserver[1535]: org.kde.kf5.ksmserver: SmsDie timeout, client  "/usr/lib/kdeconnectd" ( 10142137108dc000161296987500000015350013 )
feb 10 16:11:25 simone-main ksmserver[1648]: org.kde.kf5.ksmserver: ksmserver: Fatal IO error: client killed
-- Boot d765589b66f04d0cae64f729093bf4f1 --
feb 10 16:12:12 simone-main dbus-daemon[1350]: [session uid=1000 pid=1348] Activating service name='org.freedesktop.systemd1' requested by ':1.12' (uid=1000 pid=1676 comm="/bin/ksmserver ")
feb 10 17:19:03 simone-main dbus-daemon[1203]: [session uid=1000 pid=1203] Activating service name='org.kde.Shutdown' requested by ':1.14' (uid=1000 pid=1533 comm="/usr/bin/ksmserver ")
feb 10 17:19:29 simone-main plasma-shutdown[12218]: org.kde.plasma.shutdown: ksmserver failed to complete logout
-- Boot 890c25eb524f4a74aa1cc45df9ad3b47 --
feb 10 17:20:23 simone-main dbus-daemon[1342]: [session uid=1000 pid=1340] Activating service name='org.freedesktop.systemd1' requested by ':1.12' (uid=1000 pid=1646 comm="/bin/ksmserver ")
feb 10 17:35:14 simone-main dbus-daemon[1197]: [session uid=1000 pid=1197] Activating service name='org.kde.Shutdown' requested by ':1.14' (uid=1000 pid=1547 comm="/usr/bin/ksmserver ")
feb 10 17:35:24 simone-main ksmserver[1547]: org.kde.kf5.ksmserver: SmsDie timeout, client  "/usr/lib/kdeconnectd" ( 10142137108dc000161297491400000015470013 )
feb 10 17:35:24 simone-main ksmserver[1646]: org.kde.kf5.ksmserver: ksmserver: Fatal IO error: client killed
-- Boot e54efddd6248441aad6d0c1efb5651ff --
feb 10 17:37:49 simone-main dbus-daemon[1366]: [session uid=1000 pid=1364] Activating service name='org.freedesktop.systemd1' requested by ':1.12' (uid=1000 pid=1690 comm="/bin/ksmserver ")
feb 10 17:56:49 simone-main dbus-daemon[1201]: [session uid=1000 pid=1201] Activating service name='org.kde.Shutdown' requested by ':1.14' (uid=1000 pid=1526 comm="/usr/bin/ksmserver ")
feb 10 17:56:59 simone-main ksmserver[1526]: org.kde.kf5.ksmserver: SmsDie timeout, client  "/usr/lib/kdeconnectd" ( 10142137108dc000161297620900000015260012 )
feb 10 17:57:01 simone-main ksmserver[1690]: org.kde.kf5.ksmserver: ksmserver: Fatal IO error: client killed
-- Boot 78fc458c836640bab1556a793d8d4b84 --
feb 10 17:59:28 simone-main dbus-daemon[1346]: [session uid=1000 pid=1344] Activating service name='org.freedesktop.systemd1' requested by ':1.11' (uid=1000 pid=1640 comm="/bin/ksmserver ")
feb 10 18:07:03 simone-main dbus-daemon[1199]: [session uid=1000 pid=1199] Activating service name='org.kde.Shutdown' requested by ':1.14' (uid=1000 pid=1553 comm="/usr/bin/ksmserver ")
feb 10 18:07:13 simone-main ksmserver[1553]: org.kde.kf5.ksmserver: SmsDie timeout, client  "/usr/lib/kdeconnectd" ( 10142137108dc000161297682300000015530012 )
feb 10 18:07:15 simone-main ksmserver[1640]: org.kde.kf5.ksmserver: ksmserver: Fatal IO error: client killed
-- Boot 8f1a49ac563c41118febd863e350b6ca --
feb 10 18:09:37 simone-main dbus-daemon[1346]: [session uid=1000 pid=1344] Activating service name='org.freedesktop.systemd1' requested by ':1.12' (uid=1000 pid=1659 comm="/bin/ksmserver ")
feb 10 18:21:54 simone-main dbus-daemon[1199]: [session uid=1000 pid=1199] Activating service name='org.kde.Shutdown' requested by ':1.14' (uid=1000 pid=1536 comm="/usr/bin/ksmserver ")
feb 10 18:22:04 simone-main ksmserver[1536]: org.kde.kf5.ksmserver: SmsDie timeout, client  "/usr/lib/kdeconnectd" ( 10142137108dc000161297771400000015360014 )
feb 10 18:22:05 simone-main ksmserver[1659]: org.kde.kf5.ksmserver: ksmserver: Fatal IO error: client killed
-- Boot 05c9962afe1b41dcb2cb546837c67cfe --
feb 10 18:24:52 simone-main dbus-daemon[1345]: [session uid=1000 pid=1343] Activating service name='org.freedesktop.systemd1' requested by ':1.11' (uid=1000 pid=1615 comm="/bin/ksmserver ")
feb 10 18:31:34 simone-main dbus-daemon[1197]: [session uid=1000 pid=1197] Activating service name='org.kde.Shutdown' requested by ':1.14' (uid=1000 pid=1591 comm="/usr/bin/ksmserver ")
feb 10 18:31:35 simone-main ksmserver[1615]: org.kde.kf5.ksmserver: ksmserver: Fatal IO error: client killed
-- Boot 17215d9b903d49aeaca85c2eebe87f58 --
feb 10 18:34:49 simone-main dbus-daemon[1348]: [session uid=1000 pid=1346] Activating service name='org.freedesktop.systemd1' requested by ':1.12' (uid=1000 pid=1670 comm="/bin/ksmserver ")
feb 10 18:34:50 simone-main at-spi-bus-launcher[2063]: dbus-daemon[2063]: Activating service name='org.a11y.atspi.Registry' requested by ':1.4' (uid=1000 pid=1533 comm="/usr/bin/ksmserver ")
feb 10 18:42:46 simone-main dbus-daemon[1202]: [session uid=1000 pid=1202] Activating service name='org.kde.Shutdown' requested by ':1.14' (uid=1000 pid=1533 comm="/usr/bin/ksmserver ")
feb 10 18:42:56 simone-main ksmserver[1533]: org.kde.kf5.ksmserver: SmsDie timeout, client  "/usr/lib/kdeconnectd" ( 10142137108dc000161297896600000015330016 )
feb 10 18:42:59 simone-main ksmserver[1670]: org.kde.kf5.ksmserver: ksmserver: Fatal IO error: client killed
-- Boot f345f4f136494eb18fde9472f155b4ce --
feb 10 18:45:28 simone-main dbus-daemon[1350]: [session uid=1000 pid=1348] Activating service name='org.freedesktop.systemd1' requested by ':1.11' (uid=1000 pid=1688 comm="/bin/ksmserver ")
feb 10 18:46:43 simone-main dbus-daemon[1203]: [session uid=1000 pid=1203] Activating service name='org.kde.Shutdown' requested by ':1.13' (uid=1000 pid=1521 comm="/usr/bin/ksmserver ")
feb 10 18:46:53 simone-main ksmserver[1521]: org.kde.kf5.ksmserver: SmsDie timeout, client  "/usr/lib/kdeconnectd" ( 10142137108dc000161297920300000015210013 )
-- Boot c270b92298ae4733a4db0c885a36e825 --
feb 10 18:47:51 simone-main dbus-daemon[1353]: [session uid=1000 pid=1351] Activating service name='org.freedesktop.systemd1' requested by ':1.12' (uid=1000 pid=1677 comm="/bin/ksmserver ")
feb 10 18:48:35 simone-main dbus-daemon[1205]: [session uid=1000 pid=1205] Activating service name='org.kde.Shutdown' requested by ':1.14' (uid=1000 pid=1540 comm="/usr/bin/ksmserver ")
feb 10 18:48:45 simone-main ksmserver[1540]: org.kde.kf5.ksmserver: SmsDie timeout, client  "/usr/lib/kdeconnectd" ( 10142137108dc000161297931500000015400012 )
-- Boot e2e7ee061dbf45e9b05153d3329cda95 --
feb 10 18:49:41 simone-main dbus-daemon[1351]: [session uid=1000 pid=1348] Activating service name='org.freedesktop.systemd1' requested by ':1.12' (uid=1000 pid=1673 comm="/bin/ksmserver ")
feb 10 19:11:56 simone-main dbus-daemon[1203]: [session uid=1000 pid=1203] Activating service name='org.kde.Shutdown' requested by ':1.14' (uid=1000 pid=1533 comm="/usr/bin/ksmserver ")
feb 10 19:12:06 simone-main ksmserver[1533]: org.kde.kf5.ksmserver: SmsDie timeout, client  "/usr/lib/kdeconnectd" ( 10142137108dc000161298071600000015330014 )
feb 10 19:12:06 simone-main ksmserver[1673]: org.kde.kf5.ksmserver: ksmserver: Fatal IO error: client killed
-- Boot 1903987854af4e668a802a7605786211 --
feb 10 19:14:32 simone-main dbus-daemon[1350]: [session uid=1000 pid=1348] Activating service name='org.freedesktop.systemd1' requested by ':1.12' (uid=1000 pid=1664 comm="/bin/ksmserver ")
feb 10 19:30:03 simone-main dbus-daemon[1203]: [session uid=1000 pid=1203] Activating service name='org.kde.Shutdown' requested by ':1.14' (uid=1000 pid=1543 comm="/usr/bin/ksmserver ")
feb 10 19:30:13 simone-main ksmserver[1543]: org.kde.kf5.ksmserver: SmsDie timeout, client  "/usr/lib/kdeconnectd" ( 10142137108dc000161298180300000015430013 )
feb 10 19:30:16 simone-main ksmserver[1664]: org.kde.kf5.ksmserver: ksmserver: Fatal IO error: client killed
-- Boot 8ad8f0329b5240edb712965d81111fb3 --
feb 10 19:32:30 simone-main dbus-daemon[1365]: [session uid=1000 pid=1363] Activating service name='org.freedesktop.systemd1' requested by ':1.12' (uid=1000 pid=1687 comm="/bin/ksmserver ")
feb 10 19:36:13 simone-main dbus-daemon[1218]: [session uid=1000 pid=1218] Activating service name='org.kde.Shutdown' requested by ':1.14' (uid=1000 pid=1549 comm="/usr/bin/ksmserver ")
feb 10 19:36:23 simone-main ksmserver[1549]: org.kde.kf5.ksmserver: SmsDie timeout, client  "/usr/lib/kdeconnectd" ( 10142137108dc000161298217300000015490017 )
-- Boot d508ed8caafb4301883749c5e902e40b --
feb 10 19:38:44 simone-main dbus-daemon[1372]: [session uid=1000 pid=1354] Activating service name='org.freedesktop.systemd1' requested by ':1.12' (uid=1000 pid=1695 comm="/bin/ksmserver ")
feb 10 19:46:48 simone-main dbus-daemon[1208]: [session uid=1000 pid=1208] Activating service name='org.kde.Shutdown' requested by ':1.14' (uid=1000 pid=1536 comm="/usr/bin/ksmserver ")
feb 10 19:46:59 simone-main ksmserver[1536]: org.kde.kf5.ksmserver: SmsDie timeout, client  "/usr/lib/kdeconnectd" ( 10142137108dc000161298280800000015360020 )
feb 10 19:47:02 simone-main ksmserver[1695]: org.kde.kf5.ksmserver: ksmserver: Fatal IO error: client killed


and i got my Xserver crashing during shutdown phase, the logs are:
Code: Select all
feb 11 16:36:08 simone-main ksmserver[16561]: org.kde.kf5.ksmserver: SmsDie timeout, client  "/usr/lib/kdeconnectd" ( 10142137108dc000161305775800000165610019 )
feb 11 16:36:08 simone-main org.kde.kdeconnect[21875]: ICE default IO error handler doing an exit(), pid = 21875, errno = 11
feb 11 16:36:08 simone-main systemd-logind[533]: System is rebooting.
feb 11 16:36:08 simone-main systemd[1]: Stopping Session 2 of user simone.
feb 11 16:36:08 simone-main systemd[1]: Stopping Session 5 of user simone.
feb 11 16:36:08 simone-main systemd[1]: Stopping Session 7 of user simone.
feb 11 16:36:08 simone-main systemd[1]: Stopping Session 9 of user simone.
feb 11 16:36:08 simone-main sddm[574]: Authentication error: "Process crashed"
feb 11 16:36:08 simone-main kded5[16507]: QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: KDEDModule*
feb 11 16:36:08 simone-main at-spi-bus-launcher[16491]: X connection to :0 broken (explicit kill or server shutdown).
feb 11 16:36:08 simone-main sddm[574]: Auth: sddm-helper crashed (exit code 15)
feb 11 16:36:08 simone-main sddm[574]: Authentication error: "Process crashed"
feb 11 16:36:08 simone-main sddm[574]: Auth: sddm-helper exited with 15
feb 11 16:36:08 simone-main sddm[574]: Socket server stopping...
feb 11 16:36:08 simone-main sddm[574]: Socket server stopped.
feb 11 16:36:08 simone-main sddm[574]: Display server stopping...
feb 11 16:36:08 simone-main kded5[16507]: QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: KDEDModule*
feb 11 16:36:08 simone-main systemd[1]: Removed slice system-getty.slice.
feb 11 16:36:08 simone-main systemd[1]: Removed slice system-modprobe.slice.
feb 11 16:36:08 simone-main kded5[16507]: QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: KDEDModule*
feb 11 16:36:08 simone-main systemd[1]: Removed slice system-systemd\x2dcoredump.slice.
feb 11 16:36:08 simone-main kded5[16507]: QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: KDEDModule*
feb 11 16:36:08 simone-main kded5[16507]: QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: KDEDModule*
feb 11 16:36:08 simone-main systemd[1]: Stopped target Bluetooth.
feb 11 16:36:08 simone-main systemd[1]: Stopped target Graphical Interface.
feb 11 16:36:08 simone-main systemd[1]: Stopped target Sound Card.
feb 11 16:36:08 simone-main systemd[1]: Stopped target Timers.
feb 11 16:36:08 simone-main systemd[1]: logrotate.timer: Succeeded.
feb 11 16:36:08 simone-main systemd[1]: Stopped Daily rotation of log files.
feb 11 16:36:08 simone-main systemd[1]: man-db.timer: Succeeded.
feb 11 16:36:08 simone-main systemd[1]: Stopped Daily man-db regeneration.
feb 11 16:36:08 simone-main systemd[1]: pamac-cleancache.timer: Succeeded.
feb 11 16:36:08 simone-main systemd[1]: Stopped Monthly clean packages cache.
feb 11 16:36:08 simone-main systemd[1]: pamac-mirrorlist.timer: Succeeded.
feb 11 16:36:08 simone-main kglobalaccel5[16533]: The X11 connection broke (error 1). Did the X11 server die?
feb 11 16:36:08 simone-main systemd[1]: Stopped Generate mirrorlist weekly.
feb 11 16:36:08 simone-main systemd[1]: shadow.timer: Succeeded.
feb 11 16:36:08 simone-main systemd[1]: Stopped Daily verification of password and group files.
feb 11 16:36:08 simone-main systemd[1]: systemd-tmpfiles-clean.timer: Succeeded.
feb 11 16:36:08 simone-main systemd[1]: Stopped Daily Cleanup of Temporary Directories.
feb 11 16:36:08 simone-main kactivitymanagerd[16545]: The X11 connection broke (error 1). Did the X11 server die?
feb 11 16:36:08 simone-main konsole[21399]: The X11 connection broke (error 1). Did the X11 server die?
feb 11 16:36:08 simone-main systemd[1]: lvm2-lvmpolld.socket: Succeeded.
feb 11 16:36:08 simone-main systemd[1]: Closed LVM2 poll daemon socket.
feb 11 16:36:08 simone-main systemd[1]: systemd-rfkill.socket: Succeeded.
feb 11 16:36:08 simone-main systemd[1]: Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
feb 11 16:36:08 simone-main bluetoothd[899]: Terminating
feb 11 16:36:08 simone-main systemd[1]: Stopping Bluetooth service...
feb 11 16:36:08 simone-main systemd[1]: Starting Generate shutdown-ramfs...
feb 11 16:36:08 simone-main systemd[1]: Stopping RealtimeKit Scheduling Policy Service...
feb 11 16:36:08 simone-main systemd[1]: Stopping Simple Desktop Display Manager...
feb 11 16:36:08 simone-main systemd[1]: Stopping Virtual Machine and Container Registration Service...
feb 11 16:36:08 simone-main kded5[16507]: QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: KDEDModule*
feb 11 16:36:08 simone-main systemd[1]: Stopping Load/Save Random Seed...
...skipping...
feb 11 16:36:08 simone-main ksmserver[1643]: org.kde.kf5.ksmserver: ksmserver: Fatal IO error: client killed
feb 11 16:36:08 simone-main bluetoothd[899]: Endpoint unregistered: sender=:1.239 path=/MediaEndpoint/A2DPSource/sbc
feb 11 16:36:08 simone-main audit[3726]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 subj==unconfined pid=3726 comm="kscreenlocker_g" exe="/usr/lib/kscreenlocker_greet" sig=11 res=1
feb 11 16:36:08 simone-main klauncher[1393]: The X11 connection broke (error 1). Did the X11 server die?
feb 11 16:36:08 simone-main kdeinit5[1375]: kdeinit5: Fatal IO error: client killed


i don't know if this is related but is indeed strange.

I tried to delete the confifg "ksmserverrc" but it does't solve the issue.


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]