| Summary: | startkde on systemd: safeguard against already started plasma session in another user session | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | mike |
| Component: | Startup process | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | wishlist | CC: | kde, nate, plasma-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | 5.25.5 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
systemd allowes only one graphical-session.target per user, not per session. This will not change and is by design (never mind that it is called -session, not -user) a clean and easy way might be checking if graphical-session.target is already running before starting QStringLiteral("plasma-workspace-%1.target").arg(platform) STEPS TO REPRODUCE 1) run startplasma-wayland or startx that launches startplasma-x11 on a tty/VT 2) do the same on another tty/VT OBSERVED RESULT The second session does not start, instead only a black screen is shown EXPECTED RESULT Output a message that says that there is already a graphical session running and thus the start of another session is prohibited SOFTWARE/OS VERSIONS Operating System: Kubuntu 22.10 KDE Plasma Version: 5.25.5 KDE Frameworks Version: 5.98.0 Qt Version: 5.15.6 Kernel Version: 5.19.0-26-generic (64-bit) Graphics Platform: X11