Forum > Unix

dbus Ubuntu18 64 bit

(1/1)

andrey_and:
I'm trying to create a dbus connection. First request the name of the bus:

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---ret := dbus_bus_request_name(conn, 'my_server', DBUS_NAME_FLAG_REPLACE_EXISTING, @err); Getting an error:

--- Quote ---Connection ":1.68" is not allowed to own the service "plus.piramida.server" due to security policies in the configuration file
--- End quote ---
In terminal

--- Quote ---dbus-daemon --system
--- End quote ---
also error:

--- Quote ---Failed to start message bus: Failed to bind socket "/var/run/dbus/system_bus_socket": Address already in use
--- End quote ---

In Ubuntu 32 bit all good.
Where should I look, tell me, please.

Navigation

[0] Message Index

Go to full version