Answer the question
In order to leave comments, you need to log in
How to output text to inactive console?
There is a raspberry pi with a TFT display and HDMI (or a normal computer with two video cards).
I would like to display something in text mode on a small screen, while working in the console or X-x on a "large" monitor.
The problem is that when you switch a terminal to a neighboring one, be it text or X, the output on the neighboring one is frozen until it returns to it.
For example, I want to do this:
.. /dev/fb1 - TFT LCD
$ con2fbmap 2 1
$ echo "test" >/dev/tty2
if you now switch to tty2 (by hand or chvt 2), then "test" will appear on the LCD, But it needs to be updated automatically.
Answer the question
In order to leave comments, you need to log in
And the session was not initialized in this console, who should display that?
Well, why wasn't it. For example, I logged in there before switching back to the first console (or is it something else?). In addition, if you say "wall bla-bla", then this will also appear in such a console only after switching to it (even if agetty is waiting for login there)
I'm looking for a solution with all the "ifs" - how can I have a text log on one video card and at the same time "work" on another. The gurus were saying that "yes, it was true for me, for a long time, but now there is no time to try ..."
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question