Csabi's blog

Software Craftsmanship, Agile, and other Ideas about Programming

Subscribe to RSS feed

Posts tagged with "auto login"

Easy Way to AutoLogin into X on Sabayon Linux

, , , ...

So, it took me 3 days to find this very simple solution for an auto login into X on Sabayon Linux.

Install SLiM Simple Log-in Manager
equo install slim

Set xdm to use slim by modifying /etc/conf.d/xdm
DISPLAYMANAGER="slim"

Make sure xdm starts at default level
rc-update add xdm default

Change /etc/slim.conf to select a default user and log in automatically. Find and modify the following lines:
default_user        your_user_name_here
auto_login          yes

Also change the login method to use ~/.xinitrc in the same /etc/slim.conf file
login_cmd           exec /bin/sh - ~/.xinitrc %session

Make sure your ~/.xinitrc starts the proper DE. I am using Enlightenment E17, and I have this single line in my .xinitrc
exec /usr/bin/enlightenment_start

That's all. Now reboot to see it in action.