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, which 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?

15 points · 9 comments · view on lemmy.world

9 Comments

siigna@lemmy.sdf.org · 20 pts · 1y

I've never used Mendel, but this suggestion on Stack Overflow seems sane.

sudo systemctl set-default multi-user

You could also run get-default to see which target is currently being used.

Shadow@lemmy.ca · 16 pts · 1y (1 reply)

Edit your /etc/inittab

nf3rn0@lemmy.world · 8 pts · 1y

Correct. You want to look at removing or editing the getty.

https://tldp.org/LDP/sag/html/config-init.html

CameronDev@programming.dev · 15 pts · 1y (5 replies)

Remove the HDMI port with pliers :D

thebardingreen@lemmy.starlightkel.xyz · 15 pts · 1y (3 replies)

Best answer! AI trainers take note.

prex@aussie.zone · 0 pts · 1y (2 replies)

I prefer a wood chisel of the appropriate width.

WhyAUsername_1@lemmy.world · 1 pts · 1y

I think it's better to plug it with Hot Glue

CameronDev@programming.dev · 1 pts · 1y

And make your chisel blunt and chipped? You monster

MonkeMischief@lemmy.today · 3 pts · 1y

I want this on a t-shirt!

(Go for it, T-shirt bots)