[kde] [Bug 487912] New: plasma X11 session is not restored after logout/login
https://bugs.kde.org/show_bug.cgi?id=487912 Bug ID: 487912 Summary: plasma X11 session is not restored after logout/login Classification: I don't know Product: kde Version: unspecified Platform: Arch Linux OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: unassigned-b...@kde.org Reporter: wenzezl...@mail.ru Target Milestone: --- SUMMARY With plasma-workspace upgraded from 6.0.5 to 6.0.5.1, plasma X11 session is not restored after logout/login regardless of "Desktop Session" options (last logout or manual saved) in System Setting. STEPS TO REPRODUCE 1. Upgrade plasma -workspace to 6.0.5.1, 2. Set "Desktop Session" option to "last logout" or "manual saved" in System Setting 3. Logout and login OBSERVED RESULT New session starts as empty one. There are several messages "Qt: Session management error: None of the authentication protocols specified are supported" in journalctl and no other errors. EXPECTED RESULT The previous session saved at last logout or manually is restored SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux KDE Plasma Version: 6.0.5 KDE Frameworks Version: 5.2 Qt Version: 6.7.1 -- 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.
[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 --- 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.
[konsole] [Bug 487896] Konsole –tabs-from-file opens additional empty tab
https://bugs.kde.org/show_bug.cgi?id=487896 Vence changed: What|Removed |Added CC||wenzezl...@mail.ru --- Comment #1 from Vence --- Confirmed Arch Linux, Plasma 6.0.5, konsole 24.05.0 -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 487936] kde-plasma/plasma-workspace 5.27.11.1: ksmserver fails to save and later restore a session
https://bugs.kde.org/show_bug.cgi?id=487936 Vence changed: What|Removed |Added CC||wenzezl...@mail.ru --- Comment #2 from Vence --- confirmed: Linux/KDE Plasma: Arch Linux/X11 KDE Plasma Version: 6.0.5 KDE Frameworks Version: 5.2 Qt Version: 6.7.1 (bug reported at 2024-06-02, https://bugs.kde.org/show_bug.cgi?id=487912) -- You are receiving this mail because: You are watching all bug changes.
[konsole] [Bug 487896] Konsole –tabs-from-file opens additional empty tab
https://bugs.kde.org/show_bug.cgi?id=487896 --- Comment #2 from Vence --- As a workaround, use command konsole --tabs-from-file `path-to-tabs-file' -e 'bash -c exit' -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 487912] plasma X11 session is not restored after logout/login
https://bugs.kde.org/show_bug.cgi?id=487912 --- Comment #12 from Vence --- (In reply to i.Dark_Templar from comment #11) > > 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. Could you explain how can one close or flush this file? -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 487912] plasma X11 session is not restored after logout/login
https://bugs.kde.org/show_bug.cgi?id=487912 --- Comment #15 from Vence --- After plasma workspace 6.0.5.1 is rebuilt with the following patch applied, everything seems to be quite right: -- $ICEAUTHORITY=/run/user/1000/iceauth_X -- file iceauth_X does exist and is not empty -- plasma X11 session is saved and restored correctly. --- a/ksmserver/server.cpp<>2024-05-31 15:48:02.0 +0300 +++ b/ksmserver/server.cpp<>2024-06-04 08:47:52.966458262 +0300 @@ -397,6 +397,7 @@ IceSetPaAuthData(2, &(*authDataEntries)[i]); } . +(void)fclose(fp); return (1); } -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 487912] plasma X11 session is not restored after logout/login
https://bugs.kde.org/show_bug.cgi?id=487912 --- Comment #18 from Vence --- In addition to Comment 15: There are still the following messages in journalctl: ksmserver[983]: Failed to write ice auth file entry ksmserver[983]: Failed to write xsmp ice auth file entry ksmserver[983]: Failed to write ice auth file entry ksmserver[983]: Failed to write xsmp ice auth file entry However, iceauth command shows that all the entries are is written correctly into the /run/user/1000/iceauth_X file. Kishore Gopalakrishnan in Comment #6 notices that the function IceWriteAuthFileEntry returns a nonzero status if the operation was successful. So the condition "if (IceWriteAuthFileEntry(fp, file_entry) != 0)" in ksmserver/server.cpp (lines 367,391) should be "if (IceWriteAuthFileEntry(fp, file_entry) = 0)" -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [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||kol...@aon.at --- Comment #27 from Vence --- *** Bug 488308 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 488308] ksmserver authentication regression
https://bugs.kde.org/show_bug.cgi?id=488308 Vence changed: What|Removed |Added CC||wenzezl...@mail.ru Resolution|WAITINGFORINFO |DUPLICATE Status|NEEDSINFO |RESOLVED --- Comment #3 from Vence --- This seems to be a duplicate of 487912 For Plasma 5.27 the bug is resolved by commit 1181acfe https://invent.kde.org/plasma/plasma-workspace/-/commit/1181acfe30557d6646511df8d98d82589878a570 *** This bug has been marked as a duplicate of bug 487912 *** -- You are receiving this mail because: You are watching all bug changes.
[kscreenlocker] [Bug 490649] Kscreenlocker hanging
https://bugs.kde.org/show_bug.cgi?id=490649 Vence changed: What|Removed |Added CC||wenzezl...@mail.ru -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 491130] Session management loses state between sessions
https://bugs.kde.org/show_bug.cgi?id=491130 Vence changed: What|Removed |Added CC||wenzezl...@mail.ru -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 491421] Session management authentication occasionally fails
https://bugs.kde.org/show_bug.cgi?id=491421 Vence changed: What|Removed |Added CC||wenzezl...@mail.ru -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 501433] Slow shutdown/reboot in arch linux with kwin_x11.service stop sig-term and USER UID 1000.service error.
https://bugs.kde.org/show_bug.cgi?id=501433 Vence changed: What|Removed |Added CC||wenzezl...@mail.ru -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 483094] On X11 with AMD or NVIDIA GPU, after monitor wake-up, unlocking the screen is delayed by 30-60 seconds
https://bugs.kde.org/show_bug.cgi?id=483094 Vence changed: What|Removed |Added CC||wenzezl...@mail.ru -- You are receiving this mail because: You are watching all bug changes.