Date: Sat, 17 Feb 2024 17:17:14 +0000 From: bugzilla-noreply@freebsd.org To: desktop@FreeBSD.org Subject: [Bug 277114] x11/lightdm: fix tty counting in patch-src_x-server.c Message-ID: <bug-277114-39348@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277114 Bug ID: 277114 Summary: x11/lightdm: fix tty counting in patch-src_x-server.c Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: desktop@FreeBSD.org Reporter: dan.kotowski@a9development.com Assignee: desktop@FreeBSD.org Flags: maintainer-feedback?(desktop@FreeBSD.org) In patch-src_x-server.c we currently pass "ttyv%d", but we count TTYs in he= x, not decimal and so it should be: + tty_text =3D g_strdup_printf ("/dev/ttyv%x", vt - 1); This bug was identified in 221452, but the accepted patches bandage over the issue rather than fixing the root cause, which is the counting. This patch was suggested and actually resolves the bug: https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D236106&action=3Ddiff However, it is also possible that these are base32 numbers rather than base= 16 and points here: https://github.com/swaywm/wlroots/pull/1945 With this fixed, it may again be possible to pull back in val's consolekit2 patch as well: https://github.com/valpackett/ConsoleKit2/commit/18a058576d118dec428d81c7e2= e3369d9ec939d0.patch --=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-277114-39348>