| Summary: | Re-login results in a black screen with mouse pointer | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Patrick Silva <bugseforuns> |
| Component: | general | Assignee: | David Edmundson <kde> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | agurenko, auxsvr, nate, nyanpasu64, plasma-bugs-null, postix, rapiteanu.catalin, samuelsumukhreddy |
| Priority: | VHI | Keywords: | regression |
| Version First Reported In: | 5.23.90 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| See Also: | https://bugs.kde.org/show_bug.cgi?id=448979 | ||
| Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/commit/022a91662541fd32e54cbfec371f08368f878fcf | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Patrick Silva
2022-01-14 20:24:51 UTC
Can reproduce. It looks like plasmashell didn't start automatically. I can use krunner to launch `plasmashell` manually and then everything gets back to normal. The symptoms are identical to what I reported in 448475. Is this the same as Bug 448806? That one used systemd session, I'm not sure if this does. Are you using the Systemd startup feature, Patrick? (In reply to Nate Graham from comment #3) > Are you using the Systemd startup feature, Patrick? yes *** Bug 448806 has been marked as a duplicate of this bug. *** This happens both on the Wayland and X11 sessions. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/1943 A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1403 Git commit 39ecc45e5bdf8cf167b7b128e2c3473069bd5119 by David Edmundson. Committed on 26/01/2022 at 22:20. Pushed by davidedmundson into branch 'master'. [systemd] Fix logout issues It is important that we end plasma-core.target plasma-workspace.target and graphical-session.target when we log out. graphical-session in turn closes all other apps and daemons and prevents restarts. Handling it in systemd gives the least racey option. graphical-session used to be hanlded in the plasma-ksmserver service file, but this was removed in 5.24 in a refactor where it caused issues for Xwayland restarting. This patch reintroduces the sentinel programs to close down our target, which in turn take down the other targets. It also removes a complicated use of templates that in hindsight didn't really solve anything. Testing done: - logout of wayland shows all targets as inactive, logging in repeatedly works smoothly - logout of X11 behaves the same. - calling systemctl --user stop plasma-kwin_wayland.service closes the session - killing ksmserver on wayland does not close the session - killing ksmserver on X does M +2 -2 startkde/startplasma.cpp M +3 -1 startkde/systemd/CMakeLists.txt M +1 -0 startkde/systemd/plasma-core.target A +4 -0 startkde/systemd/plasma-workspace-wayland.target A +4 -0 startkde/systemd/plasma-workspace-x11.target A +8 -0 startkde/systemd/plasma-workspace.target D +0 -6 startkde/systemd/plasma-workspace@.target https://invent.kde.org/plasma/plasma-workspace/commit/39ecc45e5bdf8cf167b7b128e2c3473069bd5119 Git commit 022a91662541fd32e54cbfec371f08368f878fcf by David Edmundson. Committed on 26/01/2022 at 22:40. Pushed by davidedmundson into branch 'Plasma/5.24'. [systemd] Fix logout issues It is important that we end plasma-core.target plasma-workspace.target and graphical-session.target when we log out. graphical-session in turn closes all other apps and daemons and prevents restarts. Handling it in systemd gives the least racey option. graphical-session used to be hanlded in the plasma-ksmserver service file, but this was removed in 5.24 in a refactor where it caused issues for Xwayland restarting. This patch reintroduces the sentinel programs to close down our target, which in turn take down the other targets. It also removes a complicated use of templates that in hindsight didn't really solve anything. Testing done: - logout of wayland shows all targets as inactive, logging in repeatedly works smoothly - logout of X11 behaves the same. - calling systemctl --user stop plasma-kwin_wayland.service closes the session - killing ksmserver on wayland does not close the session - killing ksmserver on X does (cherry picked from commit 39ecc45e5bdf8cf167b7b128e2c3473069bd5119) M +2 -2 startkde/startplasma.cpp M +4 -2 startkde/systemd/CMakeLists.txt M +1 -0 startkde/systemd/plasma-core.target A +4 -0 startkde/systemd/plasma-workspace-wayland.target A +4 -0 startkde/systemd/plasma-workspace-x11.target A +8 -0 startkde/systemd/plasma-workspace.target D +0 -6 startkde/systemd/plasma-workspace@.target https://invent.kde.org/plasma/plasma-workspace/commit/022a91662541fd32e54cbfec371f08368f878fcf |