Linux Lite Forums

Full Version: Error: "Enable Auto Login has not been applied"
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Hi,

A fresh clean new install of LL 2.2, immediately followed by "Install Updates"
Install all went fine, no errors or warnings during the install.
Carried out all my usual set-up actions, like I have done "many/many" times..

I then went to enable "Auto Login"
Menu > System >Login Settings > "Enable Auto Login"

I get the usual:
[Image: PZO7L20.png]

then I get prompted for my password, which I enter.
Then after a second or so I get:
[Image: 7sOJp2p.png]

and Auto Login does not work.

I have seen the message on Auto Login Bug, but I ran the install updates immediately after install
http://tiny.cc/lightdm-link1

There is another Thread about adding a user in lightdm.conf, which is not present on this install.
Also an indication of creating one manually.
http://tiny.cc/lightdm-link2

Any suggestions/pointers welcome.

I'm unable to include formatted url links in this post else I get Server Error messages..!!!!

Thanks... Dave
Hello Dave
This is the contents of /etc/lightdm/lightdm.conf on my PC
Code:
[SeatDefaults]
autologin-guest=false
autologin-user=misko
autologin-user-timeout=0
autologin-session=lightdm-autologin
greeter-session=lightdm-webkit-greeter
user-session=xfce
You can open this file in leafpad.
Code:
sudo leafpad /etc/lightdm/lightdm.conf
This line autologin-user=misko defines what user you want to autologin.
Hi misko,

I do not have a /etc/lightdm/lightdm.conf
I have these, there is one in /etc/init
[Image: nnLVKtd.png]

Should I just create one.?

Thanks... Dave
Yes you should have this file in order to use auto login.
Create it with:
Code:
sudo leafpad /etc/lightdm/lightdm.conf
Paste this in leafpad.
Code:
[SeatDefaults]
autologin-guest=false
autologin-user=username
autologin-user-timeout=0
autologin-session=lightdm-autologin
greeter-session=lightdm-webkit-greeter
user-session=xfce
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:
Code:
echo $USER
For example: If the output of this command is wirezfree
Code:
[SeatDefaults]
autologin-guest=false
autologin-user=wirezfree
autologin-user-timeout=0
autologin-session=lightdm-autologin
greeter-session=lightdm-webkit-greeter
user-session=xfce
Hi Misko,

Many Thanks... That fixed it.
Did a couple of re-boots to verify all O.K

Thanks again
Dave
No problem. Smile
I don't know why was this conf file missing in the first place.
Yes, strange....

Now I have it all nicely set-up & configured...
Do I bite the bullet and try a kernel upgrade, not done one yet.

Best Wishes for the holidays
Dave
If it works, don't fix it. Smile
Do you know how to revert to the previous kernel if something goes wrong?

Best Whishes to you too. Smile
Happy Hollidays
Hi,

I have a note somewhere.. Is it,

Press the "shift" key during boot,
Get to the GRUB Menu, and select a previous working version,
when re-booted remove failed version.
??

Dave
In that case go right ahead and install.
Sorry for the late reply.
Pages: 1 2 3