Tiny Core Base > Raspberry Pi
logout tty1 after X is running
(1/1)
xpector:
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
--- Code: ---startx
--- End code ---
in /home/tc/.profile with
--- Code: ---(startx &
echo exit follows
exit
)
--- End code ---
I see the echoed text in tty1, but also still the command prompt.
Simply adding
--- Code: ---startx
--- End code ---
at the end of .profile file "helps" in the way that even a freshly opened ssh session ends immediately.
xpector:
Typo
---> Simply adding exit at the end of .profile file "helps" in the way that even a freshly opened ssh session ends immediately.
Navigation
[0] Message Index
Go to full version