Easy Way to AutoLogin into X on Sabayon Linux
Friday, January 20, 2012 2:43:12 PM
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
Set xdm to use slim by modifying /etc/conf.d/xdm
Make sure xdm starts at default level
Change /etc/slim.conf to select a default user and log in automatically. Find and modify the following lines:
Also change the login method to use ~/.xinitrc in the same /etc/slim.conf file
Make sure your ~/.xinitrc starts the proper DE. I am using Enlightenment E17, and I have this single line in my .xinitrc
That's all. Now reboot to see it in action.
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.






