KMSCon – A Userspace System Console That Does Not Depend on Any Graphics Server
cgit.freedesktop.org
cgit.freedesktop.org
Luckily, it looks like 2023 might be our year. This Reddit post details an exploration earlier this year:
https://www.reddit.com/r/linux/comments/sycbn0/showstoppers_...
And came to the conclusion that everything was almost ready, with the notable exception of Plymouth, which handles the boot splash in most desktop distros.
Well, it seems like that issue was fixed:
https://gitlab.freedesktop.org/plymouth/plymouth/-/issues/13...
So in theory, Plymouth, a recovery console, terminal emulators, and Wayland compositors are all able to work with CONFIG_VT=n, if the pieces are all put together. I think in this case, your logind implementation would handle the switching; it already handles switching resources when VTs are changed, so this makes enough sense.
I think there's a lot of anxiety around being able to build robust and dependable bits at the bottom layer, and it's pretty justified honestly. But if the Linux desktop stack is able to succeed at it, it seems like it could lift off a lot of legacy kernel code, offer improved internationalization and accessibility for terminal sessions, improve the seamlessness and integration of early boot and terminal sessions, and so forth.
There may never be a "year of the Linux Desktop" that meets everyone's criteria, but 2023 looks to be another year where long-standing efforts finally start to bear fruit more substantially. I'm looking forward to it.
* http://jdebp.uk./Softwares/nosh/guide/user-virtual-terminals...
It'd be nice to make elogind/seatd/etc. work for this use case if it doesn't today.
https://cgit.freedesktop.org/~dvdhrm/kmscon/tree/docs/man/km...
https://seclists.org/oss-sec/2020/q3/174
He proposed a patch but instead Linux kernel developers disabled scrolling!
You can still satisfy the need for scrolling by using NetBSD.
(I use both Linux and NetBSD)
With the --sb-size flag one can purportedly set the maximum lines of scrollback in kmscon.
I do the above (via a shell snippet in /etc/profile.d) to get scrollback and an idle lock, via screen, on tty2-6, and, if tty1, add an alias that invokes vlock after startx exits to lock the virt console that X is using on exit from X.
But, KMSCon looks worth checking out.