Jump to content

Recommended Posts

Posted

Hello, I run my program system as a service in console mode, so no login is needed. The Linux system starts up almost quietly after changes in boot.scr. The only "small" thing that needs a solution is the login prompt. How can I prevent login prompt from appearing? I've tried some autologin options I found for different Linux systems, but they didn't work for me. Any suggestion?

Posted

under armbian 5.35 Debian Jessie 3.4.113-sun8i I added the following file /lib/systemd/system/getty@tty1.service.d/20-autologin.conf with root privileges:

# /lib/systemd/system/getty@tty1.service.d/20-autologin.conf

[Service]
ExecStart=
ExecStart=-/sbin/agetty --autologin pi --noclear %I $TERM

If needed, change 'pi' with another username. Then reboot.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines