Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
en:c1_tft_autoconsole [2016/11/14 10:50] john1117 [Auto login] |
en:c1_tft_autoconsole [2016/11/14 11:10] john1117 |
||
---|---|---|---|
Line 16: | Line 16: | ||
sudo reboot | sudo reboot | ||
+ | ===== Auto login ===== | ||
+ | Edit tty1 service | ||
+ | sudo systemctl edit getty@tty1 | ||
+ | And add | ||
+ | [Service] | ||
+ | ExecStart= | ||
+ | ExecStart=-/sbin/agetty -a odroid --noclear %I $TERM | ||
+ | | ||
+ | |||
+ | odroid@odroid:~$ sudo systemctl cat getty@tty1 | grep Exec | ||
+ | ExecStart=-/sbin/agetty --noclear %I $TERM | ||
+ | ExecStart= | ||
+ | ExecStart=-/sbin/agetty -a odroid --noclear %I $TERM | ||
+ | Restart tty1 service | ||
+ | sudo systemctl restart getty@tty1 |