Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Dbus not working as expected on MacOSX

    General and Desktop
    1
    1
    2209
    Loading More Posts
    • 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
      mkae last edited by

      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 Reply Quote 0
      • First post
        Last post