[kde] [Bug 487912] plasma X11 session is not restored after logout/login
https://bugs.kde.org/show_bug.cgi?id=487912 --- Comment #11 from i.Dark_Templar --- (In reply to Eduardo from comment #10) > (In reply to Kishore Gopalakrishnan from comment #7) > > I can at least confirm that my iceauth file (/run/user/1000/iceauth_XX , > > where XX is some apparently random string) is empty, so perhaps > > ksmserver is indeed failing to write the 'magic cookie' (whatever that is) > > to that file. > > I don't even have this file on my system with 6.0.5 where everything works > just fine. So I would not be so sure that the issue is there. That is the issue. With new release this file is created, written, but not flushed or closed, so it stays empty. And new env variable ICEAUTHORITY pointing to this file is set up. Flushing or closing file fixed issue for me with plasma workspace 5.27.11.1 as in https://bugs.kde.org/show_bug.cgi?id=487936#c3. -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 487912] plasma X11 session is not restored after logout/login
https://bugs.kde.org/show_bug.cgi?id=487912 --- Comment #10 from Eduardo --- (In reply to Kishore Gopalakrishnan from comment #7) > I can at least confirm that my iceauth file (/run/user/1000/iceauth_XX , > where XX is some apparently random string) is empty, so perhaps > ksmserver is indeed failing to write the 'magic cookie' (whatever that is) > to that file. I don't even have this file on my system with 6.0.5 where everything works just fine. So I would not be so sure that the issue is there. -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 487912] plasma X11 session is not restored after logout/login
https://bugs.kde.org/show_bug.cgi?id=487912 Eduardo changed: What|Removed |Added CC||ed...@inbox.lv --- Comment #9 from Eduardo --- I can confirm this, luckily I could revert to 6.0.5, heavily rely on session restore functionality. I even restored home FS to a snapshot before I logged in with broken session restore, to be sure. -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 487912] plasma X11 session is not restored after logout/login
https://bugs.kde.org/show_bug.cgi?id=487912 i.Dark_Templar changed: What|Removed |Added CC||idarktemp...@mail.ru -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 487912] plasma X11 session is not restored after logout/login
https://bugs.kde.org/show_bug.cgi?id=487912 Jesus changed: What|Removed |Added CC||mapatr...@gmail.com Ever confirmed|0 |1 Status|REPORTED|CONFIRMED --- Comment #8 from Jesus --- Confirmed, this happens with the latest version of plasma-workspace 6.0.5.1, if I install the previous 6.0.5 the session restoration works again -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 487912] plasma X11 session is not restored after logout/login
https://bugs.kde.org/show_bug.cgi?id=487912 --- Comment #7 from Kishore Gopalakrishnan --- I can at least confirm that my iceauth file (/run/user/1000/iceauth_XX , where XX is some apparently random string) is empty, so perhaps ksmserver is indeed failing to write the 'magic cookie' (whatever that is) to that file. -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 487912] plasma X11 session is not restored after logout/login
https://bugs.kde.org/show_bug.cgi?id=487912 --- Comment #6 from Kishore Gopalakrishnan --- In ksmserver/server.cpp, I see (around line 365) ``` if (IceWriteAuthFileEntry(fp, file_entry) != 0) { qWarning("Failed to write ice auth file entry"); } ``` but the documentation for IceWriteAuthFileEntry ( https://www.x.org/releases/X11R7.7/doc/libICE/ICElib.html#IceWriteAuthFileEntry ) says "The function returns a nonzero status if the operation was successful. " I suppose this means the 'Failed to write ice auth file entry' messages in my logs in comment 5 may be misleading. -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 487912] plasma X11 session is not restored after logout/login
https://bugs.kde.org/show_bug.cgi?id=487912 --- Comment #5 from Kishore Gopalakrishnan --- After enabling 'full debug' output for ksmserver and rebooting, I get the following messages in `journalctl -b -0 --user` (I have only reproduced a segment that seems relevant) ``` Jun 02 14:59:53 kishorearchtestingVM systemd[499]: Started KDE Daemon 6. Jun 02 14:59:53 kishorearchtestingVM ksmserver[588]: org.kde.kf6.ksmserver: "/run/user/1000/KSMserver" Jun 02 14:59:53 kishorearchtestingVM systemd[499]: Starting KDE Configuration Module Initialization (Phase 1)... Jun 02 14:59:53 kishorearchtestingVM ksmserver[588]: Failed to write ice auth file entry Jun 02 14:59:53 kishorearchtestingVM ksmserver[588]: Failed to write xsmp ice auth file entry Jun 02 14:59:53 kishorearchtestingVM ksmserver[588]: Failed to write ice auth file entry Jun 02 14:59:53 kishorearchtestingVM ksmserver[588]: Failed to write xsmp ice auth file entry Jun 02 14:59:53 kishorearchtestingVM ksmserver[588]: org.kde.kf6.ksmserver: KSMServer::restoreSession "saved at previous logout" Jun 02 14:59:53 kishorearchtestingVM systemd[499]: Started KDE Session Management Server. Jun 02 14:59:53 kishorearchtestingVM systemd[499]: Starting KDE Plasma Workspace... Jun 02 14:59:53 kishorearchtestingVM kcminit_startup[550]: Initializing "/usr/lib/qt6/plugins/plasma/kcms/systemsettings/kcm_touchpad.so" Jun 02 14:59:53 kishorearchtestingVM kcminit_startup[550]: kcm_touchpad: Using X11 backend Jun 02 14:59:53 kishorearchtestingVM kcminit_startup[550]: Initializing "/usr/lib/qt6/plugins/plasma/kcms/systemsettings_qwidgets/kcm_kgamma.so" Jun 02 14:59:53 kishorearchtestingVM systemd[499]: Finished KDE Configuration Module Initialization (Phase 1). Jun 02 14:59:53 kishorearchtestingVM kded6[590]: org.kde.libkbolt: Failed to connect to Bolt manager DBus interface: Jun 02 14:59:53 kishorearchtestingVM kded6[590]: org.kde.bolt.kded: Couldn't connect to Bolt DBus daemon Jun 02 14:59:53 kishorearchtestingVM systemd[499]: Started KDE Window Manager. Jun 02 14:59:53 kishorearchtestingVM kded6[590]: org.kde.plasma.printmanager.kded: unable to register service to dbus Jun 02 14:59:53 kishorearchtestingVM kded6[590]: QDBusObjectPath: invalid path "/modules/plasma-session-shortcuts" Jun 02 14:59:53 kishorearchtestingVM kded6[590]: kf.dbusaddons: The kded module name "plasma-session-shortcuts" is invalid! Jun 02 14:59:53 kishorearchtestingVM systemd[499]: Starting KActivityManager Activity manager Service... Jun 02 14:59:53 kishorearchtestingVM kded6[590]: QDBusObjectPath: invalid path "/modules/kded_plasma-welcome" Jun 02 14:59:53 kishorearchtestingVM kded6[590]: kf.dbusaddons: The kded module name "kded_plasma-welcome" is invalid! Jun 02 14:59:53 kishorearchtestingVM kded6[590]: kcm_touchpad: Using X11 backend Jun 02 14:59:53 kishorearchtestingVM ksmserver[588]: org.kde.kf6.ksmserver: KSMConnection::count 1 Jun 02 14:59:53 kishorearchtestingVM ksmserver[588]: org.kde.kf6.ksmserver: ICE Connection rejected! Jun 02 14:59:53 kishorearchtestingVM plasmashell[607]: Qt: Session management error: None of the authentication protocols specified are supported ``` -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 487912] plasma X11 session is not restored after logout/login
https://bugs.kde.org/show_bug.cgi?id=487912 --- Comment #4 from Kishore Gopalakrishnan --- Installing the xorg-iceauth package does not help for me. -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 487912] plasma X11 session is not restored after logout/login
https://bugs.kde.org/show_bug.cgi?id=487912 --- Comment #3 from Kishore Gopalakrishnan --- (In reply to Kishore Gopalakrishnan from comment #2) > ... Interestingly, applications are still opened correctly > (preserving their previous state) when resuming an activity. Scratch that. Activity supension/resumption also doesn't work for me. When I suspend an activity, I can see using htop that those applications are still running (and thus, they still appear if I resume the same activity without rebooting). However, attempting to resume the activity after rebooting, one is indeed presented with just an empty activity. -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 487912] plasma X11 session is not restored after logout/login
https://bugs.kde.org/show_bug.cgi?id=487912 --- Comment #2 from Kishore Gopalakrishnan --- I also have this bug. Interestingly, applications are still opened correctly (preserving their previous state) when resuming an activity. -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 487912] plasma X11 session is not restored after logout/login
https://bugs.kde.org/show_bug.cgi?id=487912 Kishore Gopalakrishnan changed: What|Removed |Added CC||kishor...@gmail.com -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 487912] plasma X11 session is not restored after logout/login
https://bugs.kde.org/show_bug.cgi?id=487912 --- Comment #1 from Vence --- The bug is presumably caused by recent changes in plasma-workspace made in 6.0.5.1, namely, in ksmserver (server.cpp and server.h). plasma-workspace 6.0.5 is free of this bug -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 487912] plasma X11 session is not restored after logout/login
https://bugs.kde.org/show_bug.cgi?id=487912 Vence changed: What|Removed |Added CC||wenzezl...@mail.ru -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 487912] plasma X11 session is not restored after logout/login
https://bugs.kde.org/show_bug.cgi?id=487912 Vence changed: What|Removed |Added Assignee|unassigned-b...@kde.org |plasma-b...@kde.org -- You are receiving this mail because: You are watching all bug changes.