|
Registered Member
|
Recently I upgraded a few packages ( don't know which exactly ). Currently I have : KDE 4.6.2 , dbus-1.4.6 , dbus-glib-0.88 , polkit-0.101 and polkit-qt-1-0.99.0.
My problem is that even though I select enable auto-login in convenience and select my users I get authentication failed during KDM. This worked before but an update suddenly broke it. I'd appreciate any tips into how to go about debugging this and trying to find the problem. All I have in the kdm log is this : (==) Using system config directory "/usr/share/X11/xorg.conf.d" resize called 1680 1050 klauncher(3208) kdemain: No DBUS session-bus found. Check if you have started the DBUS server. kdeinit4: Communication error with launcher. Exiting! kdmgreet(3201)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed: "Not connected to D-Bus server" libpng warning: Malformed iTXt chunk libpng warning: Malformed iTXt chunk libpng warning: Malformed iTXt chunk What packages should I build for debug , do I monitor D-Bus and what logs can I look into ? I'm using a little know distribution called Frugalware and while the maintainers do their best they sometimes miss some KDE related things. Thanks. |
|
Administrator
|
Does logging in normally work ok? The authentication settings may have changed, try setting them again by changing the user being logged into.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
|
Registered Member
|
Added a new user ( useradd temp ) and set a password ( passwd temp ). I then went and changed the autologin to temp , restarted the PC. The same autologin failed message. Changed back to my user ( marius ) for autologin and restarted , same error. After the autologin error appears I just click on OK and it lets me loging as usual which works perfectly fine. It's just the autologin that's broken somehow. |
|
Administrator
|
Ok. Please ensure all your packages are up to date, this could be a regression in KDM, but it could be mismatched packages.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
|
Registered Member
|
I've updated to the latest packages for my distro but I'm not sure those aren't mismatched.
Here's what I have : polkit-0.101 polkit-kde-agent-1-0.99.0 polkit-qt-1-0.99.0 dbus-1.4.6 dbus-glib-0.88 dbus-python-0.83.1 dbus-x11-1.4.6 libqtdbus-4.7.2 kdelibs-4.6.2 More package versions are available here: http://frugalware.org/packages ( I'm running current ) if you feel like taking a look. Perhaps it might even be something regarding the build options. |
|
Administrator
|
Ok, given that you can login fine and regenerating the configuration has no effect, please file a bug report at bugs.kde.org as it appears to be a regression.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
|
Registered Member
|
OK, thanks for all the assistance. I'll try a clean install first and see how that goes. If that fails too I'll file a bug report with all necessary details. |
|
Registered Member
|
I've been able to reproduce this even with a new clean reinstall of the OS.
More importantly though, I've found a log file ( /var/log/secure ) which contains the following info: May 29 01:50:14 frugalware polkitd(authority=local): Unregistered Authentication Agent for unix-session:/org/freedesktop/ConsoleKit/Session2 (system bus name :1.22, object path /org/kde/PolicyKit1/AuthenticationAgent, locale en_US) May 29 01:50:14 frugalware su[879]: pam_unix(su:session): session closed for user root May 29 01:50:14 frugalware kdm: :0[557]: pam_unix(kde:session): session closed for user marius May 29 01:50:14 frugalware kdm: :0[557]: pam_systemd(kde:session): Moving remaining processes of user session 1c of marius into control group /user/marius/master. May 29 01:50:36 frugalware su[934]: pam_unix(su:session): session closed for user root May 29 01:51:32 frugalware kdm: :0[551]: pam_unix(kde-np:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost= user=marius May 29 01:51:45 frugalware kdm: :0[551]: pam_unix(kde:session): session opened for user marius by (uid=0) May 29 01:51:45 frugalware kdm: :0[551]: pam_systemd(kde:session): Moving new user session for marius into control group /user/marius/1c. May 29 01:51:58 frugalware polkitd(authority=local): Registered Authentication Agent for unix-session:/org/freedesktop/ConsoleKit/Session1 (system bus name :1.23 [/usr/lib/kde4/libexec/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale en_US) This seems to explain why it doesn't work but I still don't really understand too much of it. Going to google aroung though. Still any help with understanding what it says would be appreciated. I find it suspicious that it's trying to use object path /org/kde/PolicyKit1 which is only later registered , after the actual login I think. Doesn't really make any sense to me. |
|
Administrator
|
Try looking a little further above the first entry you posted. I'm guessing the time "01:50:14" is when the system booted up. It could be possible that KDE is crashing out for some reason on startup.
Try checking the content and modification times of ~/.xsession-errors to see if this is the case.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
|
Registered Member
|
Ah , success at last. I initially looked at xsession-errors but I couldn't find anything suspicious besides a known problem that I just need to fix with Akonadi.
Then it occurred that maybe this line actually provides the clue as to what the problem is: May 29 01:51:32 frugalware kdm: :0[551]: pam_unix(kde-np:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost= user=marius I then went for there and looked for the kde-np in /etc/pam.d/ and it turns out that was modified by my distribution. Using the old version things work just fine but using the new one they don't. So this one is pretty much fixed, turns out it was just a nasty distro configuration problem. Thanks for all the support. |
|
Administrator
|
No problem. Please make sure this issue is reported to your distribution so that they can correct their packages to ensure that autologin can operate correctly.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]