You are not logged in.
Hi, when I try to change administrator settings in kde or trying to launch gparted it's not accepting my (root) password and after a while I got error as shown below:
Unable to authenticate/execute the action: 7, DBus Backend error: could not contact the helper. Connection error: The name org.freedesktop.ConsoleKit was not provided by any .service files. 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
I'm using kde and kdm and ksudo is working fine.
Last edited by Elderon (2014-01-03 21:06:21)
Offline
Same problem here, on a freshly created VirtualBox guest with ArchLinux (64bit), using KDE and KDM (not yet tried ksudo). The message looks as if KDE still wants ConsoleKit which has been removed. But "Any package that previously depended on it now relies on systemd-logind instead.". So I would have expected no problems with a fresh install; I've followed the instructions in the Display Manager wiki article, but it seems that doesn't suffice.
What additional information should I provide?
Offline
Do you guys have an active logind session? do loginctl list-sessions to see what session number you have, then loginctl show-session <session number>. It should list Active=yes.
If it does, try adding the following to /etc/pam.d/polkit-1:
session optional pam_xauth.soEdit, forgot to ask, do you both have a polkit authentication agent installed and running?
Last edited by Scimmia (2014-01-06 17:40:01)
Offline
Do you guys have an active logind session? do loginctl list-sessions to see what session number you have, then loginctl show-session <session number>. It should list Active=yes.
Yes, it's active.
loginctl show-session 3
Id=3
Timestamp=Mon 2014-01-06 22:08:55 CET
TimestampMonotonic=62596258
VTNr=7
Display=:0
Remote=no
Service=kde
Scope=session-3.scope
Leader=708
Audit=3
Type=x11
Class=user
Active=yes
State=active
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0
If it does, try adding the following to /etc/pam.d/polkit-1:
It didn't help.
Edit, forgot to ask, do you both have a polkit authentication agent installed and running?
Yes:
polkit.service loaded active running Authorization Manager
Or did you mean polkit-kde? I have it installed but I can't find if it's running or not.
Last edited by Elderon (2014-01-06 21:34:07)
Offline
polkitd (polkit.service) is not an authentication agent. polkit-kde would do it, if it's actually running. "ps ax | grep polkit" will tell you what you've got.
Offline
Well it seems it's running:
ps ax | grep polkit
260 ? Ssl 0:00 /usr/lib/polkit-1/polkitd --no-debug
889 ? Sl 0:00 /usr/lib/kde4/libexec/polkit-kde-authentication-agent-1
2300 pts/2 S+ 0:00 grep polkit
Offline
I'm out of ideas, then. I haven't run KDE since before the consolekit/logind switch.
Offline
This works for me, for gparted at least
kdesu gpartedOffline
Do you guys have an active logind session? do loginctl list-sessions to see what session number you have, then loginctl show-session <session number>. It should list Active=yes.
If it does, try adding the following to /etc/pam.d/polkit-1:
session optional pam_xauth.soEdit, forgot to ask, do you both have a polkit authentication agent installed and running?
Active logind session: yes. /usr/lib/kde4/libexec/polkit-kde-authentication-agent-1 present and running. Putting the above into /etc/pam.d/polkit-1 seems to have had quite bad effects: afterwards KDE started but freezed (mouse movable but no reaction to clicking anything), ctrl-alt-del got the dialog for shutdown / reboot, but now while shutdown seems in (extremely slow) progress I get one message
BUG: soft lockup - CPU#0 stuck for 23s!after the other. Pretty ugly.
Offline
That's strange. Adding that line to the polkit pam file a suggestion from upstream: https://bugs.kde.org/show_bug.cgi?id=299718
Offline
a guess
from your code:
The name org.freedesktop.ConsoleKit was not provided by any .service files.
from http://www.freedesktop.org/wiki/Software/ConsoleKit/
"ConsoleKit is currently not actively maintained. The focus has shifted to the built-in seat/user/session management of Software/systemd called systemd-logind!"
do you have systemd-logind.service enabled?
Offline
Yes:
systemd-logind.service loaded active running Login Service
Offline
I didn't make any of the changes above. However, I did manage to get this to work.
I'm using lightdm with the kde greeter, and before installing xorg-xauth, I too was getting the bizarre errors and getting rather frustrated with the "remember" checkbox not doing anything. After installing xorg-xauth, it all works fine.
# pacman -S xorg-xauthSeriously, once xauth is available, the kde system settings applet started caching passwords when I select "remember".
Offline