autologin ?

Please post all general support questions for LXDE here.
Locked
otto
Posts: 16
Joined: Wed Aug 26, 2009 3:22 pm
Contact:

autologin ?

Post 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:
download my distro development in english at http://www.epidemiclinux.org/index.php?lang=en

Visit my sidux project "sidux brazil" at http://www.sidux.com.br

Image


Image
aus9
Posts: 35
Joined: Tue Jun 02, 2009 8:42 am
Location: Australia

Re: autologin ?

Post 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
kortsen
Posts: 8
Joined: Mon Feb 08, 2010 4:46 pm

Re: autologin ?

Post 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?
aus9
Posts: 35
Joined: Tue Jun 02, 2009 8:42 am
Location: Australia

Re: autologin ?

Post 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
Locked