Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim1s:configurations:auto-login

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
products:sbc:vim1s:configurations:auto-login [2022/07/17 21:38]
nick
products:sbc:vim1s:configurations:auto-login [2022/07/17 23:57]
frank
Line 1: Line 1:
 ====== VIM1S Auto Login ====== ====== VIM1S Auto Login ======
  
-===== Introduction ===== +{{page>products:sbc:vim4:configurations:auto-login}}
- +
-This document mainly introduces automatic login under Ubuntu. +
- +
-===== System Configuration ===== +
- +
-<tabbox Desktop +
- +
-Check ''Settings->Users->Automatic Login''+
- +
-<tabbox Server>  +
- +
-For tty1-tty6 +
-```sh +
-$ sudo sed -i "s/ExecStart=.*/ExecStart=-\/sbin\/agetty --noclear --autologin root \%I \$TERM/g" /lib/systemd/system/getty@.service +
-``` +
- +
-For ttyS0 +
-```sh +
-$ sudo sed -i "s/ExecStart=.*/ExecStart=-\/sbin\/agetty --autologin root --keep-baud 115200,38400,9600 \%I \$TERM/g" /lib/systemd/system/serial-getty@.service +
-``` +
-</tabbox> +
- +
-<WRAP info > +
-Reboot to take effect. +
-</WRAP> +
Last modified: 2022/07/17 23:57 by frank