[kde-linux] Authorization issues. Was: Time Zone settings etc.
James Tyrer
jrtyrer at earthlink.net
Fri Mar 5 00:49:12 UTC 2010
Dr.-Ing. Edgar Alwers wrote:
> On Wednesday 24 February 2010 23:16:17 you wrote:
>
>> If this works, you should then be able to go to: "SystemSettings ->
>> Advanced -> PolicyKit Authorization" and give yourself the necessary
>> authority.
>>
>
> Hallo James, Hallo Duncan,
>
> I was working all these days on the authorization issue. No way. I got DBus,
> DBus-Glib, HAL,HAL-Info, PolicyKit, EggDBus, polkit, ConsoleKit, polkit-qt and
> polkit-qt-1 build. But no PolicyKit Authorization shows up in my
> SystemsSettings.
I don't have any for KDE either. :-( It appears to be seriously broken.
> Could you tell me, who or what is filling System-Settings and what do I need to
> do ? It became an extreemly difficult job to build KDE-4.4, and I have already
> build more then 10 BLFS systems !
>
After working on this, I think that I have determined that it isn't
working. I currently have KDE-4.4 installed in: "/usr/KDE-4.4" since I
have multiple versions on the system, and I installed with:
SYSCONF_INSTALL_DIR=/etc/kde-4.4
and GNOME stuff installed with:
--prefix=/usr/gnome-2 --sysconfdir=/etc/gnome
In: "/etc/dbus-1/session-local.conf", I have:
<includedir>/etc/gnome/dbus-1/session.d</includedir>
<includedir>/etc/kde-4.4/dbus-1/session.d</includedir>
<servicedir>/usr/gnome-2/share/dbus-1/services</servicedir>
<servicedir>/usr/KDE-4.4/share/dbus-1/services</servicedir>
In: "/etc/dbus-1/system-local.conf", I have:
<includedir>/etc/gnome/dbus-1/system.d</includedir>
<includedir>/etc/kde-4.4/dbus-1/system.d</includedir>
<servicedir>/usr/gnome-2/share/dbus-1/system-services</servicedir>
<servicedir>/usr/KDE-4.4/share/dbus-1/system-services</servicedir>
and I find no KDE policy kit services in:
SystemSettings -> Advanced -> PolicyKit Authorization
There is no tree with a root: "org.kde", which IIUC, I should see in the
list window. A tree rooted "org.gnome" is shown so I presume that I
have the configuration correct.
I also note that when opened in a "root" KDE session that I cannot save
the clock settings. The file:
/etc/kde-4.4/dbus-1/system.d/org.kde.kcontrol.kcmclock.conf
has:
<policy user="root">
<allow own="org.kde.kcontrol.kcmclock"/>
</policy>
which, IIUC, should allow "root" to use that KCM and save the changes.
So, is there a bug? It appears to me that KDE is not finding the
relevant files despite correct configuration.
--
James Tyrer
Linux (mostly) From Scratch
More information about the kde-linux
mailing list