https://bugs.kde.org/show_bug.cgi?id=464045

            Bug ID: 464045
           Summary: startkde on systemd: safeguard agains already started
                    plasma session in another user session
    Classification: Plasma
           Product: ksmserver
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: k...@davidedmundson.co.uk
          Reporter: m...@mwsys.mine.bz
                CC: plasma-b...@kde.org
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to