Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


Sidebar

products:sbc:vim4:configurations:auto-login

This is an old revision of the document!


Auto Login

Introduction

This document mainly introduces automatic login under Ubuntu.

System Configuration

Desktop OS

Goto Settings→Users→Automatic Login.

Server OS

For tty1-tty6

khadas@Khadas:~$ sudo sed -i "s/ExecStart=.*/ExecStart=-\/sbin\/agetty --noclear --autologin root \%I \$TERM/g" /lib/systemd/system/getty@.service

For ttyS0

khadas@Khadas:~$ sudo sed -i "s/ExecStart=.*/ExecStart=-\/sbin\/agetty --autologin root --keep-baud 115200,38400,9600 \%I \$TERM/g" /lib/systemd/system/serial-getty@.service

Reboot to take effect.

Last modified: 2022/07/06 08:50 by nick