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
0answers
7 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
0answers
8 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
14 views

QDbus monitoring software

Is there any software for monitoring QDBus like what DFeet does for DBus? (Graphical or CLI)
0
votes
0answers
30 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
28 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
61 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
19 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
25 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
17 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
12 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
169 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
43 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
134 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 ...
2
votes
0answers
227 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 ...
0
votes
0answers
8 views

Can dbus show EGL emmisons?

I'm looking into how Wayland works. Is there a way to, with dbus, get a look at the EGL that is being created by Gnome Mutter? https://upload.wikimedia.org/wikipedia/commons/a/a7/...
0
votes
0answers
338 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
30 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
181 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 ...
1
vote
1answer
717 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
44 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
81 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
129 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
72 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
73 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
1k 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
89 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
33 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. ...
1
vote
0answers
24 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
27 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 ...
1
vote
1answer
697 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
334 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
103 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
138 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
379 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
194 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
40 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 ...
0
votes
0answers
43 views

using flatpak offline or share flatpak library between two distributions of debian linux

I have a partition that contains debian stretch, which I use to access the internet. I have another partition that contains debian buster, which is used solely offline. I have yet another partition ...
0
votes
0answers
137 views

How to get PANU working with bluez5

I would like to get PANU working on a linux machine using bluez5. The machine is embedded and doesn't have python and there is no systemd. It is musl based and uses busybox for init. I have bluez5 ...
2
votes
0answers
181 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
201 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 ...
2
votes
0answers
186 views

Manually restore saved session files on KDE using qdbus command

At times, i have multiple konsole terminal open with multiple tabs. I would like to save and restore it manually, just in case i accidentally close the window. In KDE there is a command to save the ...
1
vote
0answers
150 views

User d-bus service post-start/pre-stop

I need to run a script AFTER systemd has started the user dbus.service and run another script BEFORE systemd attempts to stop dbus.service. I don't want to modify the existing service files. The ...
1
vote
1answer
140 views

Why is my terminal emulator process is using d-bus?

$ sudo lsof +E -a -U -p 1480 lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs Output information may be incomplete. lsof: WARNING: can't stat() fuse.gvfsd-fuse file ...
3
votes
1answer
941 views

How to use notify-send to notify users as root? [duplicate]

#!/bin/bash export DISPLAY=:0 state=$(upower -i $(upower -e | grep BAT) | grep --color=never -E "state" ) stat=${state:25:32} batperct=$(upower -i $(upower -e | grep '/battery') | grep -E "percentage:...
0
votes
1answer
173 views

Forwarding tcp to d-bus via socat failed

I'm trying to build a tcp proxy to my local session dbus daemon. I did socat TCP-LISTEN:55556,reuseaddr,fork,range=127.0.0.1/32 ABSTRACT-CONNECT:/run/user/1000/bus However, DBUS_SESSION_BUS_ADDRESS=...
2
votes
0answers
236 views

Clean way to run proper file manager from Firefox on Linux

As many of mans known, currently solution with defaults.conf and mimetypes.cache does not work. Firefox currently uses D-bus to activate service org.freedesktop.FileManager1 to handle "Open ...
2
votes
0answers
722 views

How to prevent kdeconnectd from starting automatically?

These don't work: sudo update-rc.d kdeconnectd disable sudo systemctl disable kdeconnectd.service There is no script for it in /etc/init.d/ and the /usr/share/dbus-1/services/org.kde.kdeconnect....
0
votes
1answer
504 views

What's causing dbus-daemon to take up over 3GB of RAM?

dbus-daemon is consuming a lot of memory on my Debian 9/KDE machine. How can I find out why? The amount of allocated RAM is not changing anymore: it's stable at well over 3GB. I already tried closing ...

1
2 3 4 5