![]() Registered Member ![]()
|
OK, figured out how that code is supposed to work. The KAuth::Action constructor orders an EnumerateActions ASYNC signal to polkit. It expects a callback when polkit responds. The callback is updateCache which populates m_knownActions.
KAuth does not receive the callback, even though I can see polkit returning all actions on the dbus system bus. I took a look at polkit and I see it uses g_dbus_proxy_call (from glib) to send the dbus message and supplying a callback method. That callback is never called. So I'm thinking the fault lies in glib and/or dbus. Where is the best place to get support on glib and dbus? Any forums or mailing lists?
Gentoo Linux x64. Intel Core 2 Quad.
|
![]() Administrator ![]()
|
Unfortunately i'm not sure exactly where you would need to go to get that, although as a first part I would ensure that polkit, Qt, kdelibs and System Settings had all been compiled with GLib integration enabled.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
I had trouble changing the system time. I got authentication working in a 2-step process.
(1) I enabled root login by editing /etc/kde4/kdm/kdmrc and changing the line AllowRootLogin=false to AllowRootLogin=true. Then I rebooted. I then had trouble contacting the time server. I solved this by (2) installing ntpdate from a Debian archive. I hope this helps. |
![]() Registered Member ![]()
|
Update (or rather lack thereof): I'm now on KDE 4.8 and the problem is still the same.
I tried the suggestion to allow root login but when I attempt it I'm just kicked back to the KDM login screen. Not sure what, if anything, that signifies. Edit: Found this in /var/log/messages when I try logging in as root: Feb 5 21:31:20 markuspc kdm: :0[27659]: pam_unix(kde:session): session opened for user root by (uid=0) Feb 5 21:31:20 markuspc kernel: kdm[27678]: segfault at 0 ip 000000000040d58f sp 00007fff1ca9b230 error 4 in kdm[400000+2b000] Feb 5 21:31:20 markuspc kdm: :0[27659]: pam_unix(kde:session): session closed for user root
Gentoo Linux x64. Intel Core 2 Quad.
|
![]() Administrator ![]()
|
The problem you seem to have here is that for otherwise unknown reasons KDM is crashing. I have not seen KDM crash before, so this is extremely unusual. Are you able to log in as a normal user?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Yes, I can login as a regular user. It is only root that cannot login.
Gentoo Linux x64. Intel Core 2 Quad.
|
![]() Administrator ![]()
|
At this point, you likely need to enable Core Dumps, and use GDB to generate a suitable backtrace from the Core Dump to have any insight into why this crash occurs.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Hmmm. not really getting much from gdb. Do I need to recompile kdm with debug enabled?
Gentoo Linux x64. Intel Core 2 Quad.
|
![]() Administrator ![]()
|
It may help, yes - as lines of code in the source are not being mentioned.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Sorry for the delay, had to read up on compiler flags.
![]()
Gentoo Linux x64. Intel Core 2 Quad.
|
![]() Administrator ![]()
|
Can you please post a bug report at bugs.kde.org regarding that?
Please be aware however that KDE in general usually does not support you logging in as root - as it should not be needed.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Gentoo Linux x64. Intel Core 2 Quad.
|
Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot]