Date: Fri, 29 Oct 2021 16:10:33 +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-3W8EG4Trnd@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 --- Comment #37 from Jesper Schmitz Mouridsen <jsm@FreeBSD.org> --- (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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221452-39348-3W8EG4Trnd>