User Tools

Site Tools


linux:ubuntu:xubuntu:user-auto-login

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux:ubuntu:xubuntu:user-auto-login [2025/04/18 18:17] – created odeftalinux:ubuntu:xubuntu:user-auto-login [2025/04/18 18:18] (current) odefta
Line 8: Line 8:
  
 Create the LightDM configuration directory if it doesn't exist: Create the LightDM configuration directory if it doesn't exist:
 +<code sh>
 sudo mkdir -p /etc/lightdm/lightdm.conf.d/ sudo mkdir -p /etc/lightdm/lightdm.conf.d/
 +</code>
  
 Create a configuration file for auto-login: Create a configuration file for auto-login:
 +<code sh>
 sudo nano /etc/lightdm/lightdm.conf.d/12-autologin.conf sudo nano /etc/lightdm/lightdm.conf.d/12-autologin.conf
 +</code>
  
 Add the following lines to the file: Add the following lines to the file:
 +<code>
 [Seat:*] [Seat:*]
 autologin-user=username autologin-user=username
 autologin-session=xubuntu autologin-session=xubuntu
 +</code>
  
 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:
 +<code>
 cat /etc/X11/default-display-manager cat /etc/X11/default-display-manager
 +</code>
  
 Ensure LightDM is properly installed: Ensure LightDM is properly installed:
 +<code>
 sudo apt install --reinstall lightdm sudo apt install --reinstall lightdm
 +</code>
  
 Check LightDM status: Check LightDM status:
 +<code>
 systemctl status lightdm systemctl status lightdm
 +</code>
linux/ubuntu/xubuntu/user-auto-login.txt · Last modified: 2025/04/18 18:18 by odefta