This forum has been archived. All content is frozen. Please use KDE Discuss instead.
The Discussions and Opinions forum is a place for open discussion regarding everything related to KDE, within the boundaries of KDE Code of Conduct. If you have a question or need a solution for a KDE problem, please post in the apppropriate forum instead.

kde + dbus services, strange behavior

Tags: None
(comma "," separated)
User avatar
evil_hog
Registered Member
Posts
15
Karma
0
OS
greetings. i have kde 4.5.1 installed on freebsd 8.0 amd64 with dbus-1.2.24_2

dbus system services dir: /usr/local/share/dbus-1/system-services/
dbus system services conf dir: /usr/local/etc/dbus-1/system.d/

kde places files for dbus into:
services: /usr/local/kde4/share/dbus-1/system-services
configs: /usr/local/kde4/etc/dbus-1/system.d

Code: Select all
$ tail /usr/local/etc/dbus-1/system.conf
  <includedir>system.d</includedir>

  <!-- This is included last so local configuration can override what's
       in this standard file -->
  <include ignore_missing="yes">system-local.conf</include>
  <include ignore_missing="yes">system-kde4.conf</include>

  <include if_selinux_enabled="yes" selinux_root_relative="yes">contexts/dbus_contexts</include>

</busconfig>


Code: Select all
$ cat system-kde4.conf
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>

  <includedir>/usr/local/kde4/etc/dbus-1/system.d</includedir>
  <servicedir>/usr/local/kde4/share/dbus-1/system-services</servicedir>

</busconfig>


the paths are correct, but services doesn't work. when i attempt to modify time in the systemsettings, i receive error:
Code: Select all
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: Failed to setup environment correctly


but when i added the strings directly into /usr/local/etc/dbus-1/system.conf:
Code: Select all
  <includedir>/usr/local/kde4/etc/dbus-1/system.d</includedir>
  <servicedir>/usr/local/kde4/share/dbus-1/system-services</servicedir>

clock configuration and kdm settings are saving without errors.

looks like string <include ignore_missing="yes">system-kde4.conf</include> doesn't work somewhy. the file system-kde4.conf has permissions 444
StefanT
Registered Member
Posts
34
Karma
0
OS
I don't know why you have problems, but it seems that there are some issues with current version of dbus. If you look here you will see what I am talking about: http://dot.kde.org/2010/08/31/kde-releases-451. Read comments.

Hopefully we won't have to wait too long until this is fixed somehow. If not, no tooltips in Dolphin... :-\
User avatar
anda_skoa
KDE Developer
Posts
783
Karma
4
OS
Is there a specific reason why FreeBSD's ports system installs KDE's D-Bus files into a different location?

Cheers,
_


anda_skoa, proud to be a member of KDE forums since 2008-Oct.
User avatar
evil_hog
Registered Member
Posts
15
Karma
0
OS
anda_skoa wrote:Is there a specific reason why FreeBSD's ports system installs KDE's D-Bus files into a different location?

Cheers,
_

to not let it mix together and override each other? anyway, it's question to maintainers i guess..
still don't know why <include ignore_missing="yes">system-kde4.conf</include> doesn't work. probably its indeed dbus problem
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
The problem in this case is that KDE is installed to a seperate location than D-Bus. At a minimum, the D-Bus files must be installed where D-Bus is installed for it to work flawlessly. A message would have been output to this effect when kdelibs was being configured for building.

This is a fault with your distributors packages, please contact them.

system-kde4.conf likely needs to be located in /usr/local/etc/dbus-1/ to function, rather than the /usr/local/kde4/ equivalent.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar