Auto Login

  1. Edit as superuser the lightdm configuration file:
    gksu leafpad /etc/ligtdm/lightdm.conf
  2. Immediately under [SeatDefaults] add the following lines:
    autologin-guest=false
    autologin-user=YourUserNameHere
    autologin-user-timeout=0
    autologin-session=lightdm-autologin

    So for Xubuntu, lightdm.conf should read something like this:

    [SeatDefaults]
    autologin-guest=false
    autologin-user=YouUserNameHere
    autologin-user-timeout=0
    autologin-session=lightdm-autologin
    user-session=xubuntu
    greeter-session=lightdm-gtk-greeter
  3. Reboot.