Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Feb 2024 20:30:22 +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-jDKgPWfNf7@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-277114-39348@https.bugs.freebsd.org/bugzilla/>
References:  <bug-277114-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=3D277114

--- Comment #4 from Dan Kotowski <dan.kotowski@a9development.com> ---
I bumped VT_MAXWINDOWS from 12 to 120, and sure enough:

$ git -C /usr/src diff
diff --git a/sys/dev/vt/vt.h b/sys/dev/vt/vt.h
index 56a28c0420c7..ff80062ea4bc 100644
--- a/sys/dev/vt/vt.h
+++ b/sys/dev/vt/vt.h
@@ -55,7 +55,7 @@
 #ifdef MAXCONS
 #define        VT_MAXWINDOWS   MAXCONS
 #else
-#define        VT_MAXWINDOWS   12
+#define        VT_MAXWINDOWS   120
 #endif
 #endif

$ ls /dev/ttyv*
/dev/ttyv0  /dev/ttyv1i /dev/ttyv25 /dev/ttyv2p /dev/ttyv3c /dev/ttyvc
/dev/ttyv1  /dev/ttyv1j /dev/ttyv26 /dev/ttyv2q /dev/ttyv3d /dev/ttyvd
/dev/ttyv10 /dev/ttyv1k /dev/ttyv27 /dev/ttyv2r /dev/ttyv3e /dev/ttyve
/dev/ttyv11 /dev/ttyv1l /dev/ttyv28 /dev/ttyv2s /dev/ttyv3f /dev/ttyvf
/dev/ttyv12 /dev/ttyv1m /dev/ttyv29 /dev/ttyv2t /dev/ttyv3g /dev/ttyvg
/dev/ttyv13 /dev/ttyv1n /dev/ttyv2a /dev/ttyv2u /dev/ttyv3h /dev/ttyvh
/dev/ttyv14 /dev/ttyv1o /dev/ttyv2b /dev/ttyv2v /dev/ttyv3i /dev/ttyvi
/dev/ttyv15 /dev/ttyv1p /dev/ttyv2c /dev/ttyv3  /dev/ttyv3j /dev/ttyvj
/dev/ttyv16 /dev/ttyv1q /dev/ttyv2d /dev/ttyv30 /dev/ttyv3k /dev/ttyvk
/dev/ttyv17 /dev/ttyv1r /dev/ttyv2e /dev/ttyv31 /dev/ttyv3l /dev/ttyvl
/dev/ttyv18 /dev/ttyv1s /dev/ttyv2f /dev/ttyv32 /dev/ttyv3m /dev/ttyvm
/dev/ttyv19 /dev/ttyv1t /dev/ttyv2g /dev/ttyv33 /dev/ttyv3n /dev/ttyvn
/dev/ttyv1a /dev/ttyv1u /dev/ttyv2h /dev/ttyv34 /dev/ttyv4  /dev/ttyvo
/dev/ttyv1b /dev/ttyv1v /dev/ttyv2i /dev/ttyv35 /dev/ttyv5  /dev/ttyvp
/dev/ttyv1c /dev/ttyv2  /dev/ttyv2j /dev/ttyv36 /dev/ttyv6  /dev/ttyvq
/dev/ttyv1d /dev/ttyv20 /dev/ttyv2k /dev/ttyv37 /dev/ttyv7  /dev/ttyvr
/dev/ttyv1e /dev/ttyv21 /dev/ttyv2l /dev/ttyv38 /dev/ttyv8  /dev/ttyvs
/dev/ttyv1f /dev/ttyv22 /dev/ttyv2m /dev/ttyv39 /dev/ttyv9  /dev/ttyvt
/dev/ttyv1g /dev/ttyv23 /dev/ttyv2n /dev/ttyv3a /dev/ttyva  /dev/ttyvu
/dev/ttyv1h /dev/ttyv24 /dev/ttyv2o /dev/ttyv3b /dev/ttyvb  /dev/ttyvv

--=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-jDKgPWfNf7>