Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 May 2021 21:42:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        desktop@FreeBSD.org
Subject:   [Bug 221452] sysutils/consolekit2: session's active state lost when switching between virtual terminals
Message-ID:  <bug-221452-39348-TzNvKOPGBc@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-221452-39348@https.bugs.freebsd.org/bugzilla/>
References:  <bug-221452-39348@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221452

Adriaan de Groot <adridg@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |adridg@freebsd.org
             Status|Open                        |In Progress

--- Comment #34 from Adriaan de Groot <adridg@freebsd.org> ---
- If I **reboot** and go to text and start Plasma, so the very very first
session
  (and sometimes a later session, I haven't got a good handle on this), it
  does change, here's my second session after a reboot:
    Session2:
        unix-user =3D '1001'
        realname =3D 'Adriaan de Groot'
        seat =3D 'Seat1'
        session-type =3D 'unspecified'
        session-class =3D 'user'
        session-state =3D 'active'
        active =3D TRUE
        x11-display =3D ':0'
        x11-display-device =3D '/dev/ttyv8'
        display-device =3D '/dev/ttyv1'
        remote-host-name =3D ''
        is-local =3D TRUE
        on-since =3D '2021-05-16T21:31:18.505346Z'
        login-session-id =3D ''
        XDG_RUNTIME_DIR =3D '/var/run/user/1001'
        VTNr =3D '9'
- Sometimes, from the text console like I just described, the session will =
be
  active, but a switch to text-mode sets it to not-active, and then switchi=
ng
  back again to X11 doesn't do anything. It remains not-active. Like I said,
  I don't have a good handle on this.

Logging out, goting to root and running `service sddm onestart` to get SDDM:

- Log in from SDDM to a Plasma X11 session with the "regular"
  Plasma session selected, then the session is not marked active:
    Session5:
        unix-user =3D '1001'
        realname =3D 'Adriaan de Groot'
        seat =3D 'Seat3'
        session-type =3D 'unspecified'
        session-class =3D 'user'
        session-state =3D 'online'
        active =3D FALSE
        x11-display =3D ':0'
        x11-display-device =3D ''
        display-device =3D '/dev/ttyv0'
        remote-host-name =3D ''
        is-local =3D TRUE
        on-since =3D '2021-05-16T21:39:37.540427Z'
        login-session-id =3D ''
        XDG_RUNTIME_DIR =3D '/var/run/user/1001'
        VTNr =3D '1'
  switching to a text vt (ctrl-alt-F2) gives the same output from
ck-list-sessions,
  and switching back to X (alt-F9) still has the same. I find the
*display-device*
  line to be rather misleading: yes, I suppose root did start SDDM from the=
re,
  but it's not where the session lives. Similarly, the VTNr is wrong (that =
..
  seems familiar and may just be a SDDM bug) and x11-display-device isn't
  set at all.

So it may be more a display manager / SDDM-specific problem, than CK itself.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221452-39348-TzNvKOPGBc>