Questions tagged [d-bus]

A message bus system, a simple way for inter-process communication. It also helps coordinate process lifecycle.

Filter by
Sorted by
Tagged with
0
votes
1answer
24 views

Systemd DBus API returns service not loaded for disabled services

I want to start a systemd service from its D-Bus interface. However, it seems that services that are not already started or "enabled" (running on startup) are unknown to the Systemd D-Bus ...
1
vote
1answer
53 views

Unexpected errors possibly related to systemd or dbus - how to diagnose?

I am running Linux Mint 19 Tara with a Cinnamon desktop. Since yesterday, the system malfunctions, and I have been struggling to understand what is wrong or how to debug the situation. I would ...
0
votes
0answers
7 views

Measuring the number of Pulseaudio XRuns

Is it possible to measure how many XRuns has PulseAudio server generated during its uptime? There's a method called GetXruns() in the object /org/jackaudio/Controller in the interface org.jackaudio....
0
votes
0answers
11 views

How to intercept hostname changes in order to update IP based on DHCP IP plan

We're using Rancher for the provisioning of Kubernetes clusters using a VMWare vCenter integration whereas Rancher interacts with the vCenter API in order to provision the Kubernetes nodes. The ...
1
vote
0answers
30 views

How to control the D-Bus daemon virtual memory usage?

I am currently trying the D-Bus sample codes from the following link: https://linoxide.com/how-tos/d-bus-ipc-mechanism-linux/ It worked. Then I performed the exhaustion tests on the sample code above ...
0
votes
0answers
22 views

dbus configuration in order to listen to requests from within a container

I am trying to set up an app that is capable to interact with the Bluetooth dbus interface (bluez.org). My goal is having the app to be capable to pair/connect a device. I am using the java library ...
0
votes
0answers
126 views

auth-user-pass error in openvpn3

The problem I am encountering is that whenever I try to authenticate using the auth-user-pass option in openvpn3, I always get an error similar to this: ** ERROR ** org.gtk.GDBus.UnmappedGError.Quark....
0
votes
1answer
18 views

Modification of DBus /etc/dbus-1/system.conf broke the startup process

I have modified the file /etc/dbus-1/system.conf where I have changed the document to something like that: <listen>tcp:host=localhost,bind=*,port=6667</listen> <auth>ANONYMOUS</...
1
vote
0answers
37 views

Redhat 7.7 dbus-org flooding messages log

After installing Redhat 7.7 and by checking the /var/log/messages, I found the following messages are coming every minute: Aug 24 19:33:00 dbus[1454]: [system] Activating via systemd: service name='...
43
votes
4answers
3k views

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 ...
4
votes
0answers
47 views

simplest way to enable user (non-root) to suspend laptop

My laptop has suspend capability: # cat /sys/power/state freeze mem and indeed I can suspend as root: echo -n mem > /sys/power/state This works fine. But what would be a minimalist way to enable ...
0
votes
0answers
24 views

Kubuntu : Set color scheme to “Breeze Dark” from command line

I am trying to change Kubuntu 20.04 color scheme through the command line. What I thought was the solution unfortunately didn't worked. What am I doing wrong ? In ~/.kde/share/config/kdeglobals , set :...
0
votes
0answers
67 views

I keep getting this error: GDBus.Error:org.freedesktop.DBus.Error.LimitsExceeded:

I keep getting error Error: Could not create NMClient object: GDBus.Error:org.freedesktop.DBus.Error.LimitsExceeded: The maximum number of active connections for UID 1000 has been reached. when ...
1
vote
0answers
33 views

systemd service stops logging to systemd-journal after executing dbus as non-root user

Sorry for the confusing title, My current situation is following: I have a normal systemd service running (as root user&privileges). However, the service should alter my regular user's certain ...
0
votes
0answers
130 views

Notification and Notification daemon not working on window manager

I use Sway(wayland) and recently mako stopped working. Apparently there are problems with dbus, but I don't know where to dig further What I tried: Reinstalling mako/dbus didn't help Created the ...
0
votes
1answer
165 views

How to prevent D-Bus from starting a (disabled) other daemon?

Recently I noticed that the rtkit-daemon process running on my Debian 10.4 machine may be interferring with a custom server application on that machine. So I wanted to disable that realtime kit daemon ...
2
votes
1answer
47 views

How do I restore files removed from /usr/bin?

TL;DR at the bottom. Background: The following occured on my CentOS 6.10 production server. I was using a browser based terminal program to run the program Midnight Commander which is a console-...
0
votes
0answers
22 views

problem with systemd service and gsettings command to swap mouse buttons of a user

I created a script to swap my mouse buttons via gsettings command which works as intended. after creating a systemd service that runs the script as the user the gsettings command doesn't work anymore. ...
0
votes
1answer
161 views

Access ALSA as systemd system service running as a regular user

I have a service which uses both the network and sound(ALSA), and I'm trying to make a systemd system service out of it. It works as a user service, but I can't make it work as a system service. ...
0
votes
2answers
51 views

NetworkManager does not save wifi passwords

I'm trying to use D-bus method AddAndActivate connection on interface org.freedesktop.NetworkManager to create a wifi connection. I definitely pass a PreSharedKey field with the password, but ...
0
votes
1answer
53 views

Firefox gives me dbus error

When I run Firefox under Wayland I get, dbus[913]: arguments to dbus_message_new_method_call() were incorrect, assertion "_dbus_check_is_valid_path (path)" failed in file ../../../dbus/dbus-message.c ...
0
votes
0answers
46 views

How to set VLC volume with qdbus?

Seems like this should be pretty simple. I can see the volume this way: #> qdbus org.mpris.MediaPlayer2.vlc /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Volume 0.600006103515625 I can ...
2
votes
1answer
25 views

Getting available networks via NetworkManager D-Bus interface

I'm looking for how I can find the available networks (like from nmcli dev wifi list) using the D-Bus interface. Looking at the API I don't see any Properties or Methods. I'm wondering if it is ...
1
vote
0answers
79 views

Can't send mail using Kmail

I'm using KDE on debian. On Kmail application, while sending a mail I got the following error: Failed to get D-Bus interface of mailfilteragent. But, inbox is synchronized properly. Previously, I ...
1
vote
0answers
67 views

DBus NameOwnerChanged

When i run dbus-monitor --system, i got these 20 events per second: signal time=1585510053.359267 sender=org.freedesktop.DBus -> destination=(null destination) serial=2019 path=/org/freedesktop/...
0
votes
1answer
37 views

GDBus/PolicyKit error in LXDE

I am using LXDE with Parabola (a libre derivative of Arch Linux). When I log in to the desktop environment, a window pops up with the following error: GDBus.Error:org.freedesktop.PolicyKit1.Error....
0
votes
0answers
17 views

QDbus monitoring software

Is there any software for monitoring QDBus like what DFeet does for DBus? (Graphical or CLI)
1
vote
0answers
118 views

Freedesktop dbus error

In .xsession-errors file I noticed strange message: dbus-update-activation-environment: setting LC_IDENTIFICATION=uk_UA.UTF-8 dbus-update-activation-environment: setting LC_TIME=en_US.UTF-8 dbus-...
1
vote
0answers
120 views

DBUS failed to open bus when using sessionbus

I'm trying to create/start a service that uses the session bus. It doesn't exactly have to be the session bus, I just want to get it working and don't know the difference between the two, just as a ...
0
votes
0answers
72 views

Editing MPRIS Data for cmus

I intend to set the album art for the currently playing song in cmus, using a status display program. So I'm looking for a way to set the mpris:artUrl variable for cmus. I've looked at the ...
0
votes
0answers
22 views

Meaning of uint32:0 in dbus-send and bash syntax

dbus-send --system --print-reply \ --dest=org.freedesktop.DBus \ /org/freedesktop/DBus \ org.freedesktop.DBus.StartServiceByName \ string:org....
0
votes
1answer
204 views

Cannot trap some Python DBus except errors

I'm getting this error in Python which is non-fatal and I'm presuming is written to stderr: ERROR:dbus.proxies:Introspect error on :1.4:/org/freedesktop/thermald: dbus.exceptions.DBusException: ...
1
vote
0answers
171 views

Resources filled up with a lot of dbus-daemon

On an ARM board, that run a custom Yocto environment, sometimes I notice the os not responds anymore. I had hard-time to type ps aux and I discovered there were hundreds of such a process: /usr/bin/...
1
vote
0answers
36 views

Is there a way to reliably check that systemd supports --user? [duplicate]

I'm trying to set up some user services using Ansible and systemd. On Ubuntu and RHEL 7 I'm getting # systemctl --user status Failed to get D-Bus connection: Connection refused For Ubuntu I ...
1
vote
0answers
22 views

how can I get more information from dbus?

I try to figure what methods and data I can access using DBus, using the following command, dbus-send --system --type=method_call --print-reply --dest=net.connman /net/connman org.freedesktop.DBus....
0
votes
0answers
15 views

how to get/set a value inside an array

I need to interact with ConnMan using DBus, for now I get the properties, dbus-send --system --dest=net.connman --print-reply /net/connman/service/ethernet_f8dc7a149fdd_cable net.connman.Service....
1
vote
1answer
423 views

snapd fails on openSUSE Leap 15.1

I've installed and enabled snappy on my openSUSE Leap 15.1 system according to this documentation: https://snapcraft.io/docs/installing-snap-on-opensuse When adding the repository, I used the one for ...
3
votes
0answers
61 views

What is causing this 3s delay in gvim startup?

The gvim program is stuck for 3 seconds before opening any file. This issue is isolated to gvim, vim opens just fine. Therefore, the cause must be somewhere in X or some related service and not vim. ...
5
votes
1answer
166 views

The Devuan machine-id patch - solving a problem or blowing smoke?

As reported on SlashDot, Devuan has recently introduced a patch with the following description: A few days ago Devuan ASCII 2.1 was announced and one update has been overlooked by most media ...
3
votes
0answers
593 views

dbus Failed to connect to system bus: Error.LimitsExceeded: The maximum number of active connections for UID 1019 has been reached

(title was unable to create 50+ VNC+Gnome sessions (dubs/systemctl limits) ) I am trying to create 50 VNC display session on a CentOS 7.6 machine. I created a local user. Once logged in, I could ...
2
votes
0answers
1k views

How to avoid polkit error/timeout “Authorization not available” when restarting systemd services as root

On a very small server I have polkit and dbus daemons/services not running in order to save resources and harden the server (these are not needed for normal running and they increase the attack ...
0
votes
0answers
106 views

Restrict directory access to single process using apparmour

I'm going to create program creating directory and granting privileges to this directory to program request of creating this directory. Each directory, created by my program, will be putted in one ...
1
vote
0answers
485 views

Debian 10 fcitx not starting on startup

I was trying to add another language on debian 10 with KDE and I got this I searched the net and found one solution, if I run dbus-launch fcitx I can use the Input Methodtab. To make this start ...
2
votes
1answer
2k views

Setup docker container to communicate with host over d-bus

I'm creating two apps, master and slave, which communicate over d-bus. My apps work as expected when being run on the same host. Now I want to move slave app to docker container and I'm having problem ...
1
vote
0answers
109 views

cups (cupsd) broke when I removed colord - how to print without colord?

Since a recent update, the cups daemon will not print anything anymore, silently queuing but not handling print jobs. When looking for the reason I have found lines like Oct 08 17:14:16 host dbus-...
0
votes
2answers
137 views

NameOwnerChanged events sent to null destination every second

Running dbus-monitor --system, shows a lot of these events: signal time=1567100862.252579 sender=org.freedesktop.DBus -> destination=(null destination) serial=467227 path=/org/freedesktop/DBus; ...
0
votes
1answer
120 views

`notification-daemon` completely absent although libnotify installed

I'm running on x86_64 Debian 4.19 over i3-gaps & systemd; I'm interested in toying with the org.freedesktop.Notifications interface over the DBus, however there is no such service/interface/...
0
votes
1answer
104 views

Service 'org.freedesktop.UDisks2' does not exist

I am using Debian Sid, with OpenRC init system. I have installed the latest udisks2 (2.8.4), as well as qdbus-qt5. Earlier (an unspecified time before this error popper up), I was able to query org....
6
votes
1answer
3k views

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 ...
0
votes
0answers
144 views

How to leave a background job running after dbus logout

On RHEL 7.4. We are using Citrix VDA to start a UNIX desktop session for our application. The session is only the application, so when it closes, the VDA session exits (Citrix XenApp). The problem ...

1
2 3 4 5 6