I am installing gentoo on my new zepto laptop and I have a problem that I have never run into with gentoo before. I have two users on this install: root and jonas.
- Both users are able to log in to vt1 (is that what it's called, when the init scripts are done and one can log in without X?).
- I can start kde from root in vt1 via command `startkde`
- I can start kdm from root in vt1 via command `kdm`
- I can start xdm from root in vt1 via command `/etc/init.d/xdm start` and that leads to KDM.
But any time I try to log in to jonas or root via KDM, I get "Login failed".
I tried to use xdm too (the ugly one you know) and that gave the same result. Can't login at all.
I have upgraded to latest pam tonight and rebooted but no luck.
I have a secret too! I am actually not using KDE from gentoo. I have been pulling KDE from svn for about 18 months now so I thought I'd set up gentoo to use my compiled KDE without emerging any kde-related ebuilds at all. But, since the problem goes for xdm as much as for kdm, I think I have a system issue that's got nothing to do with my little trick. And I don't know the difference between logging in from KDM/xdm and from login@vt1.
Oh, the logs!
tail /var/log/everything/current:
Code: Select all
Oct 25 23:36:21 [ ] pam_unix(xdm:session): session opened for user jonas by jonas(uid=0)
Oct 25 23:36:33 [ ] pam_unix(xdm:session): session closed for user jonas
Oct 25 23:36:47 [ ] pam_unix(xdm:session): session opened for user root by root(uid=0)
Oct 25 23:37:03 [ ] pam_unix(xdm:session): session closed for user root
If I set up kdm to autologin jonas, then I get a popup saying something similar to "Authentication failed" with an OK-button.
Anyone?


