This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
products:sbc:vim4:configurations:auto-login [2022/07/06 08:51] nick |
products:sbc:vim4:configurations:auto-login [2023/04/26 09:28] (current) nick |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Auto Login ====== | + | {{indexmenu_n> |
| + | |||
| + | |||
| + | ====== | ||
| ===== Introduction ===== | ===== Introduction ===== | ||
| - | This document | + | This page mainly introduces automatic login under Ubuntu. |
| - | ===== System Configuration | + | ===== Desktop OS ===== |
| - | <tabbox Desktop OS> | ||
| - | Check '' | + | Check '' |
| - | < | + | ===== Server OS (Headless) ===== |
| - | For tty1-tty6 | + | **For tty1-tty6**: |
| - | ```sh | + | |
| - | khadas@Khadas: | + | ```shell |
| + | sudo cp / | ||
| + | sudo sed -i " | ||
| ``` | ``` | ||
| - | For ttyS0 | + | **For ttyS0**: |
| - | ```sh | + | |
| - | khadas@Khadas: | + | ```shell |
| + | sudo cp / | ||
| + | sudo sed -i " | ||
| ``` | ``` | ||
| - | </ | ||
| <WRAP info > | <WRAP info > | ||
| Reboot to take effect. | Reboot to take effect. | ||
| </ | </ | ||
| + | |||
| + | <WRAP tip > | ||
| + | If you want to recovery the login prompt, please follow the steps below: | ||
| + | ```shell | ||
| + | sudo mv / | ||
| + | sudo mv / | ||
| + | ``` | ||
| + | </ | ||
| + | |||