Page 1 of 1

autologin ?

Posted: Sun Dec 20, 2009 12:27 am
by otto
:?:
Dear lxde community,

How can I tweak it to autologin to the lxde ? FYI I'm using the desktop manager slim. I appreciate your support.
cheers.
:idea:

Re: autologin ?

Posted: Thu Jan 07, 2010 11:11 pm
by aus9
hi

edit with root powers /etc/slim.conf and change the name of the guilty to yourname

# default user, leave blank or remove this line
# for avoid pre-loading the username.
default_user gordy

# Focus the password field on start when default_user is set
# Set to "yes" to enable this feature
focus_password yes

# Automatically login the default user (without entering
# the password. Set to "yes" to enable this feature
auto_login yes

Re: autologin ?

Posted: Mon Feb 08, 2010 5:29 pm
by kortsen
I just tried it. All it did was auto-populate the default user in the login window. I pressed [Enter] and was prompted for my password.

Here are the changes I made. I had to do some cut-and-paste from your example above. I have hilited the line that I edited and the section I added.
# default user, leave blank or remove this line
# for avoid pre-loading the username.
default_user lars

# Focus the password field on start when default_user is set
# Set to "yes" to enable this feature
focus_password yes

# Automatically login the default user (without entering
# the password. Set to "yes" to enable this feature
auto_login yes
Is it odd that "focus_password" and "auto_login"sections were missing from the default slim.conf?

Re: autologin ?

Posted: Tue Feb 09, 2010 11:38 pm
by aus9
err sorry but you did reboot didn't you?

2) use root powers before rebooting and empty..../var/log/slim.log ....then reboot....if autologin fails
then pls post the contents of that log in a codebox