From nobody Fri Oct 29 16:10:33 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 50E5B182F8DB for ; Fri, 29 Oct 2021 16:10:34 +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 4HgnTQ1ltnz3nlK for ; Fri, 29 Oct 2021 16:10:34 +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 1DE281A11C for ; Fri, 29 Oct 2021 16:10:34 +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 19TGAYkA001360 for ; Fri, 29 Oct 2021 16:10:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 19TGAYBe001359 for desktop@FreeBSD.org; Fri, 29 Oct 2021 16:10:34 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: Fri, 29 Oct 2021 16:10:33 +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: jsm@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: 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: https://lists.freebsd.org/archives/freebsd-desktop List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-desktop@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221452 --- Comment #37 from Jesper Schmitz Mouridsen --- (In reply to Gleb Popov from comment #36) Hi Some years ago I tried to solve the x-display device thing, and I think it worked well back then.. Since Linux and FreeBSD differ in tty values of processes: Linux ps gives t= he actual tty of Xorg IIRC, FreeBSD does not. So in FreeBSD the get_x11_device in consolekit is obtained effectively by=20 sudo fstat /dev/ttyv* Adgangskode:=20 USER CMD PID FD MOUNT INUM MODE SZ|DV R/W NAME root Xorg 1652 13 /dev 93 crw------- ttyv8 rw=20 /dev/ttyv8 Is not vtnr9 =3D=3D ttvy8 I do not recall if Console kit counts from zero, = I do not think so. But the above X is started with vt09 which is apparently ttyv8 if= I am not mistaken. So TL;DR I do not think it is a CK issue. Can you check if slim works? or ck-launch-session startDEOFCHOICE, just narrow down the issu= e... --=20 You are receiving this mail because: You are the assignee for the bug.=