2021-02-22, 10:15 PM
I see a couple of bears on the road you are trying to walk, Sean.
First, the tty1 is a console as defined in /etc/inittab:
tty1::respawn:/sbin/getty -nl /sbin/autologin 38400 tty1
The screen gets clogged by error messages, but to send the messages somewhere alse you'll have to define console=tty3 (for example).
It might be easier to leave tty1 the console and redirect the login to tty2 (with Alt-F2 or Ctrl-Alt-F2). In the inittab this reads like:
tty2::respawn:/sbin/getty -nl /sbin/autologin 38400 tty2
(and just comment out the tty1 line)
Or perhapd this works:
tty2:askfirst::/sbin/getty -nl /sbin/autologin 38400 tty2
I sometimes switch to tty2 or tty3 to work on the text screens the without error messages redirected to the console.
The "console=tty3" hsould be a commandline or boot-config option. Whatever is easier for you, but I think editting /etc/inittab and use tty2 is the easiest solution. Most people won't use a console with tinypilot anyway. Just add some echo commands at the end of startupscript pointing people the Alt-F2. If they attach the monitor later they won't see any message (since all the messages clog the screen), therefore you need not care about that.
First, the tty1 is a console as defined in /etc/inittab:
tty1::respawn:/sbin/getty -nl /sbin/autologin 38400 tty1
The screen gets clogged by error messages, but to send the messages somewhere alse you'll have to define console=tty3 (for example).
It might be easier to leave tty1 the console and redirect the login to tty2 (with Alt-F2 or Ctrl-Alt-F2). In the inittab this reads like:
tty2::respawn:/sbin/getty -nl /sbin/autologin 38400 tty2
(and just comment out the tty1 line)
Or perhapd this works:
tty2:askfirst::/sbin/getty -nl /sbin/autologin 38400 tty2
I sometimes switch to tty2 or tty3 to work on the text screens the without error messages redirected to the console.
The "console=tty3" hsould be a commandline or boot-config option. Whatever is easier for you, but I think editting /etc/inittab and use tty2 is the easiest solution. Most people won't use a console with tinypilot anyway. Just add some echo commands at the end of startupscript pointing people the Alt-F2. If they attach the monitor later they won't see any message (since all the messages clog the screen), therefore you need not care about that.