This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:sbc:common:configurations:auto-login [2022/07/06 05:21] frank Add autologin |
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**: |
- | ```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 / | ||
+ | ``` | ||
</ | </ | ||