dj at linuxfromscratch.org
Thu Jan 20 17:07:21 PST 2011
On 01/20/2011 03:58 PM, Dr.-Ing. Edgar Alwers wrote:
> I finally got System Settings to accept me. Now, as an example and exercise, I am trying to set something with the time, e.g. "set date and time automatically". However, I get now this message:
> Unable to authenticate/execute the action: 7, DBus Backend error: could not contact the helper. Connection error: Could not get owner of name 'org.kde.kcontrol.kcmclock': no such name. Message error: The name org.kde.kcontrol.kcmclock was not provided by any .service files
> It is not a problem, if I cannot set the time, but I would like to learn how to do it.
> Could somebody who knows about tell me:
> 1.) what is the syntax of "org.kde.kcontrol.kcmclock" or where can I get infos about ?
> 2.) where do I have to place this file ? /usr/share/PolicyKit/policy ?
> Thank you very much for contributions !
That is a dbus configuration error, and the solution depends on where
you've installed KDE. /opt/KDE, /usr, or elsewhere. If anywhere other
than /usr for the prefix, you'll need to add an entry into the
/etc/dbus-1/system-local.conf file, and also if the sysconfdir is not
/etc (for instance /etc/kde), you'll need to add any config directories
like the following example for gnome installed into a prefix of
/opt/gnome with a sysconfdir of /etc/gnome:
dj [ BOOK ]$ cat /etc/dbus-1/system-local.conf
<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
<!-- Search for .conf files in /etc/gnome/dbus-1/system.d -->
<!-- Search for .service files in
dj [ BOOK ]$
Also, make sure that
actually exists, or find it as I may have the path incorrect or it could
be session-local or else wise (in fact, it may be more appropriate for
session, not system, don't know as I'm typing my response blind as it's
just general info). Similar entries are required for
/etc/dbus/session-local.conf. Thomas is intending to add KDE-4 to the
book, so hopefully all of this will all be spelled out soon.
-- DJ Lucas
More information about the blfs-support