A message bus system, a simple way for inter-process communication. It also helps coordinate process lifecycle.
Questions tagged [d-bus]
330 questions
103
votes
6 answers
A list of available D-Bus services
Is there such a thing as list of available D-Bus services?
I've stumbled upon a few, like those provided by NetworkManager, Rhythmbox, Skype, HAL.
I wonder if I can find a rather complete list of provided services/interfaces.
madfriend
- 1,133
- 2
- 8
- 5
74
votes
5 answers
What is D-Bus practically useful for?
dbus is supposed to provide "a simple way for applications to talk to one another".
But I am still not sure what it is useful for, practically. I have never seen a situation where dbus is useful, I only see warnings that some dbus component has…
400 the Cat
- 819
- 4
- 37
- 85
63
votes
4 answers
Is it OK to change /etc/machine-id?
I cloned a disk (SSD) and put the cloned disk into another machine. Now both systems have the same value in /etc/machine-id. Is it any problem to simply edit /etc/machine-id to change the value? Can I do this while the system is running (or do I…
MountainX
- 17,168
- 59
- 155
- 264
52
votes
8 answers
dbus: [system] Failed to activate service 'org.freedesktop.login1': timed out
I keep getting the following error messages in the syslog of one of my servers:
# tail /var/log/syslog
Oct 29 13:48:40 myserver dbus[19617]: [system] Failed to activate service 'org.freedesktop.login1': timed out
Oct 29 13:48:40 myserver…
lathspell
- 735
- 1
- 5
- 13
48
votes
1 answer
X, Xorg and D-Bus: what is the difference?
In the process of learning to do certain things in GUI programming (e.g., reserving space on the screen for an application), I have to learn more about the Window Manager, usually X11 on Linux (I'm not sure whether there even are distro's, which use…
neydroydrec
- 3,777
- 8
- 32
- 42
27
votes
8 answers
How to list all object paths under a dbus service?
This is a follow-up question to A list of available DBus services.
The following python code will list all available DBus services.
import dbus
for service in dbus.SystemBus().list_names():
print(service)
How do we list out the object paths…
user768421
- 465
- 2
- 5
- 7
21
votes
1 answer
Why do I need dbus?
I recently removed dbus from my system (along with consolekit and polkit). I didn't notice any change (I was running it as system daemon and per-user from .xinitrc). However, many people claim that one just need dbus, most of linux applications are…
eregus
- 333
- 3
- 9
20
votes
1 answer
Getting dbind-WARNING's about registering with the accessibility bus
When I run X apps from the command-line (e.g. leafpad; most apps), I receive the following warning on the console:
... dbind-WARNING **: ... Couldn't register with accessibility bus: Did
not receive a reply. Possible causes include: the remote…
einpoklum
- 8,772
- 19
- 65
- 129
20
votes
1 answer
Reuse D-Bus sessions across login sessions
I access a machine through multiple login sessions. The sessions' lifetimes may or may not overlap. In my case, these login sessions are currently always over SSH, but I would prefer to handle local sessions too.
I sometimes need D-Bus in these…
Gilles 'SO- stop being evil'
- 807,993
- 194
- 1,674
- 2,175
20
votes
5 answers
Run a dbus program in crontab , how to know about the SESSION id?
I need to run some program within crontab , but how can the program know about dbus session id ? it's only available for programs launched by session managers.
daisy
- 53,527
- 78
- 236
- 383
19
votes
3 answers
Documentation: Architecture of Linux Session
I'm looking for a good overview documentation describing the the stack of
daemons and services involved in a modern Linux session. Although having read
various documentation about dbus, and systemd,
I still don't get the big picture.
In particular,…
stefan
- 1,081
- 1
- 7
- 16
17
votes
2 answers
How do you enable the secret-tool command (backed by gnome-keyring, libsecret and dbus) in a headless CentOS Docker container?
I'm trying to use the secret-tool command to store a secret securely in a running headless CentoS 7.5.1804 Docker container, but can't seem to find which packages and/or configuration is necessary to make this work successfully.
Specifically, I want…
Les Hazlewood
- 371
- 1
- 3
- 12
17
votes
1 answer
D-Bus authentication and authorization
I'm trying to set up remote access to D-Bus, and I don't understand how authentication and authorization are (not) working.
I have a D-Bus server listening on an abstract socket.
$ echo $DBUS_SESSION_BUS_ADDRESS…
Gilles 'SO- stop being evil'
- 807,993
- 194
- 1,674
- 2,175
15
votes
1 answer
gnome-keyring usage without an x session
My use case is that I have a headless server that software development is performed on. I ussually enable X11 forwarding for the SSH connections to it, but I can't for distant locations with slow connections.
I need secure storage and caching for…
mtalexan
- 298
- 2
- 8
15
votes
2 answers
How to allow non-root systemd service to use dbus for BLE operation
I’ve been prototyping a BLE peripheral running as root on a small raspberry like board. Now I’m hardening things and partitioning the BLE app to a non-root user. So I've changed my systemd service file for the app to look…
Travis Griggs
- 1,461
- 3
- 14
- 21