lxde automatic login

  1. Open the lightdm configuration file in a text editor:
sudo nano /etc/lightdm/lightdm.conf
  1. Add the following lines to the configuration file, replacing "your_username" with the actual username you want to automatically log in:
[Seat:*]
autologin-user=your_username
autologin-user-timeout=0
  1. Save the changes and exit the text editor.

  2. Restart the lightdm service to apply the changes:

sudo systemctl restart lightdm