You are not logged in.

#1 2012-05-29 22:38:19

Latios
Member
Registered: 2011-04-09
Posts: 18

Polkit problem when authenticating as root in KDE

Clean install of Arch from today

When i change a setting in KDM settings and click Apply, there is authentication error, as if the password was entered incorrectly. Under "Details" polkit.subject-pid and polkit.caller-pid are present. If i leave this window open, after a while another error message pops up

Error - System Settings

Unable to authenticate/execute the action: DBus Backend error: could not contact the helper. Connection error: . Message error: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. (code 7)

When i log out, the screen flashes through the tty where 3 or so lines of Polkit error messages are present, but its so fast that i cannot read them. I cannot get to those messages from tty1-8 whether the desktop is open or closed

Kdesu works no problem

What is the issue and how can i test more (eg read the errors in the tty) ?

Offline

#2 2012-05-30 13:40:54

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 449

Re: Polkit problem when authenticating as root in KDE

Is your dbus daemon running?


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

#3 2012-05-30 13:44:28

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,557
Website

Re: Polkit problem when authenticating as root in KDE

scar wrote:

Is your dbus daemon running?

If it is, you better go catch it!   wink  Sorry could resist.

Potentially useful contribution: Check your /var/logs to see those errors that go by too quickly.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2012-06-05 09:49:12

Latios
Member
Registered: 2011-04-09
Posts: 18

Re: Polkit problem when authenticating as root in KDE

To get some errors i try to change a setting in kdm, then authenticate as root when clicking apply

So this is what i get :

[root@sinnoh ash]# cat /var/log/* |grep polkit
cat: /var/log/ConsoleKit: Is a directory
cat: /var/log/cups: Is a directory
Jun  5 12:44:14 localhost polkitd(authority=local): Registered Authentication Agent for unix-session:/org/freedesktop/ConsoleKit/Session3 (system bus name :1.28 [/usr/lib/kde4/libexec/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Jun  5 12:44:53 localhost polkit-agent-helper-1[2094]: pam_unix(polkit-1:auth): authentication failure; logname= uid=1000 euid=0 tty= ruser=ash rhost=  user=ash
Jun  5 12:44:57 localhost polkitd(authority=local): Operator of unix-session:/org/freedesktop/ConsoleKit/Session3 FAILED to authenticate to gain authorization for action org.kde.kcontrol.kcmkdm.save for unix-process:2088:383544 [/usr/bin/systemsettings -caption System Settings --icon preferences-system] (owned by unix-user:ash)
cat: /var/log/httpd: Is a directory
cat: /var/log/old: Is a directory
cat: /var/log/speech-dispatcher: Is a directory
[2012-05-29 19:02] installed polkit (0.105-1)
[2012-05-29 19:02] installed polkit-qt (0.103.0-1)
[2012-05-29 19:04] installed polkit-kde (0.99.0-2)

dbus is started from rc.conf before kdm



If this might somehow be related though does not seem related, other than by coincidence :

I use the consolefont= setting in rc.conf to set a custom font for the vt's. In all Arch installations i did, this settinng was working ok

In this setup, the font is applied before the vt resolution is going from 80x25 to full size. Then, when the resolution is changed, the console font is switched back and i have to use setfont to set it again manually

Offline

Board footer

Powered by FluxBB