This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
products:sbc:common:configurations:auto-login [2022/07/18 02:10] frank old revision restored (2022/07/08 17:06) |
products:sbc:common:configurations:auto-login [2022/10/21 21:18] (current) nick update |
||
|---|---|---|---|
| Line 5: | Line 5: | ||
| This document mainly introduces automatic login under Ubuntu. | This document mainly introduces automatic login under Ubuntu. | ||
| - | ===== System Configuration ===== | ||
| + | ===== Desktop OS ===== | ||
| - | <tabbox Desktop OS> | ||
| Edit file ''/ | Edit file ''/ | ||
| Line 18: | Line 17: | ||
| ``` | ``` | ||
| - | < | + | ===== Server OS ===== |
| + | |||
| + | **For tty1-tty6**: | ||
| - | For tty1-tty6 | ||
| ```shell | ```shell | ||
| - | khadas@Khadas: | + | sudo cp / |
| + | sudo sed -i " | ||
| ``` | ``` | ||
| - | For ttyS0 | + | **For ttyS0**: |
| ```shell | ```shell | ||
| - | khadas@Khadas: | + | 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 / | ||
| + | ``` | ||
| </ | </ | ||