Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Dbus not working as expected on MacOSX

Dbus not working as expected on MacOSX

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 2.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mkae
    wrote on last edited by
    #1

    I've got a question concerning dbus.

    I installed kde 4.7.0 via MacPorts on MacOSX and experience an annoying problem with dbus since many weeks which is preventing starting of any KDE application [1].

    Only today I found the tool qdbus which revealed that it is impossible connect to the system dbus:
    @$ qdbus --system
    Could not connect to D-Bus server: org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /opt/macports-test/var/run/dbus/system_bus_socket: Connection refused@

    Checking the socket shows that it should be read- and writeable to anyone:
    @$ ls -la /opt/macports-test/var/run/dbus/system_bus_socket
    srwxrwxrwx 1 root messagebus 0 Aug 7 10:18 /opt/macports-test/var/run/dbus/system_bus_socket@

    One can also see that the path towards the socket is free:
    @markos-imac:~ marko$ ls -la /opt/macports-test/var/run | grep dbus
    drwxr-xr-x 4 messagebus messagebus 136 Aug 7 10:18 dbus

    markos-imac:~ marko$ ls -la /opt/macports-test/var/run/dbus
    total 0
    drwxr-xr-x 4 messagebus messagebus 136 Aug 7 10:18 .
    drwxr-xr-x 5 root admin 170 Jul 22 16:51 ..
    -rw-r--r-- 1 root admin 0 Jul 22 16:51 .turd_dbus
    srwxrwxrwx 1 root messagebus 0 Aug 7 10:18 system_bus_socket@

    In the last lines I see that there is a mix of messagebus and root in ownership… But I guess this isn't the reason.

    Any ideas what could go wrong here?

    Greets,
    Marko

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved