Howto setup autologin for a user in LXDE?
Passwordless X logins (without kdm / gdm)
Display managers like GDM and KDM have a feature that enables you to log in a user automatically. However if you think gdm or kdm take up too much memory (especially if you want to use a twm / openbox / fluxbox / fvwm / lightweight session) you can avoid running a display manager as follows:
Edit /etc/conf.d/local.start and add the lines (replace <username> with your own username)
# Start X as user if tty7 is free
if ! fuser /dev/tty7 >& /dev/null; then
su - <username> -l -c 'exec startx -- vt7 >& ~/.xsession-errors' &
You realize of course you are disabling the first measure of Linux security.
If using slim login manager.
Go to /etc/slim.conf and read and edit the file. Always make a backup first before editing and saving /etc/slim.conf in case you bork things and need to restore the original. mc (Midnight Commander console file manager can do this out of X if need be).
I use slim ,but do I not auto login on my LXDE install on AntiX 8.5 core.iso install.
If using LXDM login manager in Debian
Edit: just saw your post in front of mine.