I'm using piCore to create a (paranoid) vncviwer kiosk (in listening mode, also known as reverse mode). I'd like to keep the possibility to switch to tty1 with Ctrl-Alt-F1 (for eventual maintenance). However, it would be nice to see a login prompt there, as opposed to command prompt. How could I achieve this?
I tried replacing startx
in /home/tc/.profile with
(startx &
echo exit follows
exit
)
I see the echoed text in tty1, but also still the command prompt.
Simply adding startx
at the end of .profile file "helps" in the way that even a freshly opened ssh session ends immediately.