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
1
vote
0answers
24 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
50 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
31 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
34 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
19 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
43 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
27 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
34 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
24 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
15 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
33 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 ...
0
votes
0answers
28 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
25 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
69 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
66 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
68 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
20 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
84 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: ...
0
votes
0answers
61 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
33 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
18 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
14 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
286 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
52 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
152 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
403 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 ...
1
vote
0answers
588 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
61 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
310 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
79 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
105 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
0answers
168 views

DBus get specific dict entry from org.freedesktop.DBus.ObjectManager.GetManagedObjects

I am trying to extract the Model of my modem using dbus-send and and ModemManager service. I can run dbus-send --system --print-reply --dest=org.freedesktop.ModemManager1 /org/freedesktop/...
0
votes
1answer
101 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
85 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....
4
votes
1answer
2k 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
117 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 ...
0
votes
0answers
40 views

XFCE4 notifications over SSH on ubuntu

Task is simple: Send desktop notifications over SSH. I know for this I have to specify not only DISPLAY=:0 but also the dbus address for the user that is running the GUI. In my case, the uid is 1000. ...
2
votes
0answers
33 views

Notifications about X input device changes

I am developing an applet for Cinnamon which lets me enable/disable the touchscreen of my laptop. This also shows the current status of the touchscreen. Currently I am using synchronous calls to the ...
2
votes
0answers
35 views

Lightdm multiseat problem on debian

I have a problem with multiseat and lightdm, problem is somehow with systemd and dbus, but if I have all setup correctly and setup dbus with allow setting for everything, I always get permission ...
2
votes
1answer
1k views

Watching sd-bus properties

I have a GUI where I display the ActiveState of several systemd services. At 10Hz, I use the sd-bus api to query each service like so: sd_bus* bus; sd_bus_error err = SD_BUS_ERROR_NULL; char* msg = ...
0
votes
1answer
370 views

Fedora30 upgrade: Cannot run KDE as normal user

I've upgraded from Fedora 29 to Fedora 30. Alghough root can use KDE normally, I fail to use it as a normal user, so it seems permission related. An almost black fullscreen window appears with a ...
1
vote
1answer
140 views

Ordering Cycle - FirewallD & DBusException

[SYSTEM] Virgin DigitalOcean droplet Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-52-generic x86_64) with all updates with latest Virtualmin and nothing else. How would you suggest I proceed with this? [...
1
vote
1answer
177 views

Setup .pkla rule for polkit

I'd like to start a systemd service using DBus in one of my apps which is run as non-root user myuser. For that I need to set up a PolicyKit where I'm using polkit 0.105 and added the following .pkla ...
3
votes
1answer
509 views

How do I create a systemd scope for an already-existing process from the command line?

I have a machine running the cgroups v2 (unified) hierarchy, so systemd is responsible for managing all cgroups and delegation to the systemd user instance works. I'd like to perform resource control ...
1
vote
1answer
336 views

Dbus issues unable to connect

I am trying to restart httpd but getting below error $ systemctl restart httpd Error getting authority: Error initializing authority: Could not connect: No such file or directory (g-io-error-quark, ...
1
vote
0answers
42 views

Detect current desktop environment from outside the session

I am working on code so a BOINC client can detect the desktop environment used by the user (mainly GNOME, KDE Plasma, XFCE, LXDE/LXQT). This feature will be needed for various reason that are off ...
2
votes
0answers
232 views

Cannot use gdbus command against same arguments of dbus-send

On Fedora GNOME Xorg session, I am using $ dbus-send --print-reply --dest=org.gnome.Mutter.IdleMonitor /org/gnome/Mutter/IdleMonitor/Core org.gnome.Mutter.IdleMonitor.GetIdletime to retrieve the ...
1
vote
0answers
252 views

using busctl as non-root user

I'm trying to start/stop/determine the status of a user systemd service file from within a program, not running as root, using the systemd sd-bus API. Let's stay with the example of determining the ...

1
2 3 4 5