KDE autologin


KDE autologin with KDE 3.5 can be done either manually or by KDE Control Center.

In control center:

KDE Control Center -> System Administration -> Login Manager -> Convenience
Click administrator mode below and enter root password.
After that ‘Enable Auto-Login’ is not grayed out any more.

Manually:

Edit kdmrc. kdmrc can be found as
locate kdmrc
if slocate is installed and database is up to date.

In Gentoo and KDE 3.5 it is in

/usr/kde/3.5/share/config/kdm/kdmrc

The following needs to be added if there is no sign of autologin variables. If there are something related to autologin already in place, edit those 🙂
[X-:0-Core]
AutoLoginAgain=true
AutoLoginDelay=0
AutoLoginEnable=true
AutoLoginUser=autouser

AutoLoginAgain logs user in again after when for whatever reason user is logged out but X is not restarted. Everything else should be easy to understand.

Leave a comment

Your email address will not be published. Required fields are marked *