View previous topic :: View next topic |
Author |
Message |
ese002 Apprentice
Joined: 20 Sep 2006 Posts: 153
|
Posted: Sun Sep 08, 2024 5:20 am Post subject: Plasma 6.1.4 shutdown hangs at plasma-fallback-session |
|
|
I have long had my system set to restore a manually saved session at startup.
With the upgrade to Plasma 6.1.4, this doesn't work. Shutdown and logout exit PlasmaShell and then it just hangs. All application windows remain. I have tried closing all the windows but this has no effect. What does work is to kill plasma-fallback-session-save. Shutdown/logout proceeds normally from there, though presumably skipping whatever plasma-fallback-session-save was doing.
I tried switching to "restore apps on last logout". That seemed to work once. But then I switched back to "When session was manually saved". It hung on plasma-fallback-session-save. On the next boot, I tried switching to "restore apps on last logout" and logging out. This time logout and shutdown did nothing. No plasma-fallback-session-save either. Switching again to "When session was manually saved" gave me the usual hung plasma-fallback-session-save.
Throughout all this, "switch user" works fine.
Any idea how to restore logout/shutdown function? |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9280
|
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9280
|
Posted: Mon Sep 09, 2024 8:38 pm Post subject: |
|
|
Please also try with a clean testuser profile. This has helped in the Gentoo bug. |
|
Back to top |
|
|
ese002 Apprentice
Joined: 20 Sep 2006 Posts: 153
|
Posted: Tue Sep 10, 2024 2:30 am Post subject: |
|
|
Yes, it is X11 session handling. How do I apply this patch? I'm not up on portage internals. I created a patch file in the right place but portage complains that my patch is not in the Manifest. I found *that* file but I don't what the line referencing the patch should look like. The manifest lines existing patches have a lot of extra data. I don't know what it is or where it comes from. |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3425 Location: Canada
|
Posted: Tue Sep 10, 2024 4:03 pm Post subject: |
|
|
ese002 wrote: |
Yes, it is X11 session handling. How do I apply this patch? I'm not up on portage internals. I created a patch file in the right place but portage complains that my patch is not in the Manifest. I found *that* file but I don't what the line referencing the patch should look like. The manifest lines existing patches have a lot of extra data. I don't know what it is or where it comes from. |
You need to recreate the Manifest
run
ebuild name-of-ebuild.ebuild manifest |
|
Back to top |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 1962
|
Posted: Tue Sep 10, 2024 4:12 pm Post subject: |
|
|
You should put the patch in /etc/portage/patches for testing. |
|
Back to top |
|
|
ese002 Apprentice
Joined: 20 Sep 2006 Posts: 153
|
Posted: Tue Sep 10, 2024 11:48 pm Post subject: |
|
|
dmpogo wrote: | ese002 wrote: |
Yes, it is X11 session handling. How do I apply this patch? I'm not up on portage internals. I created a patch file in the right place but portage complains that my patch is not in the Manifest. I found *that* file but I don't what the line referencing the patch should look like. The manifest lines existing patches have a lot of extra data. I don't know what it is or where it comes from. |
You need to recreate the Manifest
run
ebuild name-of-ebuild.ebuild manifest |
I did that and re-emerged plasma-workspace. No change in behavior, even after a reboot. A clean test user does work properly, even running the same apps as the failing user. |
|
Back to top |
|
|
ese002 Apprentice
Joined: 20 Sep 2006 Posts: 153
|
Posted: Wed Sep 11, 2024 1:05 am Post subject: |
|
|
I have further found that if I switch first to "empty session" with a logout in between, I can switch from "last saved" to a working "on last logout". Switching from "last saved" to "last logout" causes the usual hang and the resulting "last logout" session also hangs at logout. |
|
Back to top |
|
|
ese002 Apprentice
Joined: 20 Sep 2006 Posts: 153
|
Posted: Wed Sep 11, 2024 4:56 am Post subject: |
|
|
Correction. A clean test user does not work. It only works for "last logout" and "empty session". "last saved" still hangs. |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9280
|
Posted: Wed Sep 11, 2024 10:24 am Post subject: |
|
|
Thanks. It would be best to convey these findings to upstream, it really does not make sense for me to relay all user reports.
The next best thing would be to do as https://bugs.gentoo.org/938925#c1 which is not a fix, but a workaround (and yet another confirmation this was a problematic fix). |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9280
|
|
Back to top |
|
|
hedmo Veteran
Joined: 29 Aug 2009 Posts: 1331 Location: sweden
|
Posted: Mon Sep 23, 2024 6:15 pm Post subject: |
|
|
i have some sort the same issue . i have 6 boxes and all runs under wayland but two of have this odd issue . but for me reboot and shutdown throws me to login shell. .
regards hedmo |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9280
|
Posted: Wed Sep 25, 2024 9:42 pm Post subject: |
|
|
No, that's a different issue and a separate thread would be much better for you to possibly get some help (for any chance to get started though you'd have to provide much more information). |
|
Back to top |
|
|
ese002 Apprentice
Joined: 20 Sep 2006 Posts: 153
|
Posted: Wed Sep 25, 2024 10:32 pm Post subject: |
|
|
With 6.1.5-r2 this specific problem seems to be solved. However, it exposes another problem. After I save a session, the logout and power off buttons no longer do anything. Switching to "clean session", a workaround for an earlier version of this sort of problem, doesn't help. If I force a shutdown with "systemctl poweroff", the system seems to behave properly on the next boot. I haven't done enough testing yet to be sure that the save actually worked or if I am getting an old session. |
|
Back to top |
|
|
ese002 Apprentice
Joined: 20 Sep 2006 Posts: 153
|
Posted: Sat Sep 28, 2024 4:15 am Post subject: |
|
|
Ok. Confirmed. Saving the current session does work. Actually logging out or shutdown after doing that requires killing start-plasma but the new saved session will be used at next login and logout and shutdown will work from that session. |
|
Back to top |
|
|
|