Does anyone know how to prevent a single board computer from always displaying a logged in terminal through the onboard HDMI port on boot?

I have a Tinker Edge T as a server, and it's running Mendel Linux which is a default debian-based OS recommended by the manufacturer. One thing I really don't like is the fact that if you plug in an HDMI cable and USB keyword, it will always give you access to a terminal as the default user with no authentication prompt or anything else, and it doesn't even need a password to become root either. Is there a general Linux way to set a password for the GUI like you can on regular desktop Linux, or otherwise require authentication before you get a terminal or any other functionality, so someone can't just plug an HDMI cable and keyboard into the device and have root access to the entire device?

12 points · 2 comments · view on lemmy.world

2 Comments

kabi@lemm.ee · 15 pts · 1y
[ removed ]
hendrik@palaver.p3x.de · 5 pts · 1y

Idk much ablout Mendel Linux. Is there a getty@tty1.service service running in systemd? You could disable or edit that. Or take a look at /etc/default/grub see if they added something to the kernel cmdline.

duffer@lemmy.world · 2 pts · 1y

Try this.

auto login

I searched on how to disable auto login without a desktop manager.