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

            Bug ID: 521907
           Summary: logind session backend should use
                    org.freedesktop.login1.Session.SetType
    Classification: Plasma
           Product: kwin
      Version First 6.6.5
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: core
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

DESCRIPTION

kwin assumes control of the login session when using the logind backend. If the
session it's controlling began life as a tty session (e.g. because it was
started from a regular Linux VT after logging in via agetty), logind continues
to believe it's a tty session even though kwin is controlling it. kwin should
use the org.freedesktop.login1.Session.SetType method to change the session
type to "wayland". (There aren't any other supported types now, right?). This
way, as long as Plasma is running in the session, it's accurately reported via
loginctl to be a graphical session.


STEPS TO REPRODUCE
1. log in via agetty
2. run loginctl to see list of sessions, then loginctl show-session <your
session ID>
3. observe the Type= line

OBSERVED RESULT

Type=tty

EXPECTED RESULT

Type=wayland

SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window):
KDE Plasma Version: 6.6.5
KDE Frameworks Version: 6.24.0
Qt Version: 6.10.2

ADDITIONAL INFORMATION

https://www.freedesktop.org/software/systemd/man/latest/org.freedesktop.login1.html

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

Reply via email to