You are not logged in.
login as any user or root
do your stuff
type "exit" command
it clears the earlier work but falling back to getty's login prompt
"logging out from getty clears screen" is it causing by systemd or anything else?
Offline
However systemd clears the screen before starting it.
https://wiki.archlinux.org/title/Getty# … ay_on_tty1
This is for tty1 only, repeat the steps, if you need it for more than tty1.
Offline