12-24-2014, 12:39 PM
Yes you should have this file in order to use auto login.
Create it with:
Paste this in leafpad.
You just need to change this line autologin-user=username
Change username to the user name you whish to use to auto login.
This command prtints your current user name:
For example: If the output of this command is wirezfree
Create it with:
Code:
sudo leafpad /etc/lightdm/lightdm.conf
Code:
[SeatDefaults]
autologin-guest=false
autologin-user=username
autologin-user-timeout=0
autologin-session=lightdm-autologin
greeter-session=lightdm-webkit-greeter
user-session=xfce
Change username to the user name you whish to use to auto login.
This command prtints your current user name:
Code:
echo $USER
Code:
[SeatDefaults]
autologin-guest=false
autologin-user=wirezfree
autologin-user-timeout=0
autologin-session=lightdm-autologin
greeter-session=lightdm-webkit-greeter
user-session=xfce