This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
products:sbc:common:configurations:auto-login [2022/07/05 23:58] nick created |
products:sbc:common:configurations:auto-login [2022/10/21 21:18] (current) nick update |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Auto Login ====== | ====== Auto Login ====== | ||
| + | |||
| + | ===== Introduction ===== | ||
| + | |||
| + | This document mainly introduces automatic login under Ubuntu. | ||
| + | |||
| + | |||
| + | ===== Desktop OS ===== | ||
| + | |||
| + | |||
| + | Edit file ''/ | ||
| + | |||
| + | ``` | ||
| + | [SeatDefaults] | ||
| + | greeter-session=lightdm-gtk-greeter | ||
| + | autologin-user=khadas | ||
| + | ``` | ||
| + | |||
| + | ===== Server OS ===== | ||
| + | |||
| + | **For tty1-tty6**: | ||
| + | |||
| + | ```shell | ||
| + | sudo cp / | ||
| + | sudo sed -i " | ||
| + | ``` | ||
| + | |||
| + | **For ttyS0**: | ||
| + | |||
| + | ```shell | ||
| + | sudo cp / | ||
| + | sudo sed -i " | ||
| + | ``` | ||
| + | |||
| + | <WRAP info > | ||
| + | Reboot to take effect. | ||
| + | </ | ||
| + | |||
| + | <WRAP tip > | ||
| + | If you want to recovery the login prompt, please follow the steps below: | ||
| + | ```shell | ||
| + | sudo mv / | ||
| + | sudo mv / | ||
| + | ``` | ||
| + | </ | ||