From nobody Sun May 16 21:42:35 2021 X-Original-To: desktop@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id BF4EB8464AA for ; Sun, 16 May 2021 21:42:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fjwj750xNz4Sps for ; Sun, 16 May 2021 21:42:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9445820425 for ; Sun, 16 May 2021 21:42:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 14GLgZuE083799 for ; Sun, 16 May 2021 21:42:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14GLgZaF083798 for desktop@FreeBSD.org; Sun, 16 May 2021 21:42:35 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: desktop@FreeBSD.org Subject: [Bug 221452] sysutils/consolekit2: session's active state lost when switching between virtual terminals Date: Sun, 16 May 2021 21:42:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: adridg@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: desktop@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Using and improving FreeBSD on the desktop List-Archive: http://lists.freebsd.org/desktop List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-desktop@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221452 Adriaan de Groot changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adridg@freebsd.org Status|Open |In Progress --- Comment #34 from Adriaan de Groot --- - 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.=