linux:ubuntu:xubuntu:user-auto-login
Differences
This shows you the differences between two versions of the page.
linux:ubuntu:xubuntu:user-auto-login [2025/04/18 18:17] – created odefta | linux:ubuntu:xubuntu:user-auto-login [2025/04/18 18:18] (current) – odefta | ||
---|---|---|---|
Line 8: | Line 8: | ||
Create the LightDM configuration directory if it doesn' | Create the LightDM configuration directory if it doesn' | ||
+ | <code sh> | ||
sudo mkdir -p / | sudo mkdir -p / | ||
+ | </ | ||
Create a configuration file for auto-login: | Create a configuration file for auto-login: | ||
+ | <code sh> | ||
sudo nano / | sudo nano / | ||
+ | </ | ||
Add the following lines to the file: | Add the following lines to the file: | ||
+ | < | ||
[Seat:*] | [Seat:*] | ||
autologin-user=username | autologin-user=username | ||
autologin-session=xubuntu | autologin-session=xubuntu | ||
+ | </ | ||
Save the file (Ctrl+O, then Enter) and exit (Ctrl+X) | Save the file (Ctrl+O, then Enter) and exit (Ctrl+X) | ||
Line 43: | Line 48: | ||
Verify your display manager: | Verify your display manager: | ||
+ | < | ||
cat / | cat / | ||
+ | </ | ||
Ensure LightDM is properly installed: | Ensure LightDM is properly installed: | ||
+ | < | ||
sudo apt install --reinstall lightdm | sudo apt install --reinstall lightdm | ||
+ | </ | ||
Check LightDM status: | Check LightDM status: | ||
+ | < | ||
systemctl status lightdm | systemctl status lightdm | ||
+ | </ |
linux/ubuntu/xubuntu/user-auto-login.txt · Last modified: 2025/04/18 18:18 by odefta