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
1 answer
22 views

How to list all object paths under a dbus service only usign dbus command-line utility?

How can I list the object path under a dbus services using ONLY dbus-send command line utility? For now, I can only list services: dbus-send --system --dest=org.freedesktop.DBus --type=method_call --...
user avatar
  • 11
0 votes
1 answer
50 views

How can I filter notifications?

I am using Bodhi Linux, an Ubuntu derivative which, in my experience, for most purposes (but not all) works the same as Ubuntu. I mean to filter notifications that show up in the desktop (inspired by ...
user avatar
0 votes
2 answers
58 views

custom location for systemd services

Is there a way to tell systemd to search in some path for services files ? As this manpage state, the search paths are determined during compile time. So I tried to set XDG_DATA_DIRS environment ...
user avatar
  • 17
1 vote
1 answer
68 views

journalctl --user -u myservice "No journal files were found", for a specific user

Problem: systemd user units journalctl output display "No journal files were found." This only happens for the one sss user I am testing with, all local users seem to work fine. EDIT: sss ...
user avatar
  • 285
0 votes
0 answers
23 views

Runing libreoffice from network namespace session?

I am using Ubuntu Mate: $ echo $DESKTOP_SESSION; cat /etc/issue; uname -a; mate Ubuntu 20.04.4 LTS \n \l Linux mypc 5.4.0-104-generic #118-Ubuntu SMP Wed Mar 2 19:02:41 UTC 2022 x86_64 x86_64 x86_64 ...
user avatar
  • 6,156
0 votes
0 answers
41 views

udev rules work but script failed

I'm trying to detect new HDMI and new USB when they are plugged and notify my Rust program. Here's my rules: $ /etc/udev/rules.d/80-device-detect.rules KERNEL=="card0-HDMI-A-1", SUBSYSTEM==&...
user avatar
0 votes
0 answers
18 views

Pass boolean argument to qdbus

I'm trying to use qdbus instead of dbus-send for brevity, but I can't figure out, how to send a boolean argument. It's getting detected as "s". I'm trying to control an mpris bus and setting ...
user avatar
0 votes
0 answers
24 views

Unable to start a D-Bus server at unix:path [...] Socket name too long

I cross-compiled sssd and D-Bus for ARM architecture. When I start sssd, it crashes because of a wrong dbus path address : [sssd] [sbus_server_socket_listen] (0x0020): Unable to start a D-Bus server ...
user avatar
0 votes
1 answer
84 views

How to properly open files/applications as root?

When I try to open a file manager as root calling, for instance, sudo thunar the units at left appear with no labels (also some that shouldn't appear, like dev, pts, proc, sys): If I call sudo dbus-...
user avatar
  • 111
0 votes
0 answers
25 views

The unknown service dbus-:1.11-org.freedesktop.problems@0.service

What is the weird service? From the logs it looks like it's a slice created by D-Bus at startup. The January release of Fedora 35
user avatar
0 votes
0 answers
34 views

Gedit preferences manager does not allow interactions

I am trying to install plugins on Gedit v3.36.2 under a clean Ubuntu 20.04 installation. I'm opening the preferences but I checking/unchecking the various options doesn't work: Gedit doesn't listen! ...
user avatar
  • 415
0 votes
0 answers
91 views

Cronjob not working on MX Linux-21

I have set up a cronjob for automatic updates. However, I realized that my cronjob was not functioning. So, this is my cronjob list. # Edit this file to introduce tasks to be run by cron. # # Each ...
user avatar
1 vote
1 answer
81 views

Running my desired file manager from within the web browser

I would like to run Nemo instead of Xfce's default file browser, in my browser. Per Clean way to run proper file manager from Firefox on Linux I tried to do: $ mkdir --parents ~/.local/share/dbus-1/...
user avatar
  • 604
6 votes
4 answers
633 views

Run command every time regex is matched, reading from stdin which does not have an EOF

I am attempting to write a BASH script that creates a timestamp (to be written to file) every time a certain string is found within the output of dbus-monitor (parameters specified later in post). The ...
user avatar
0 votes
2 answers
338 views

How to launch a .service file Using Systemd -Dbus interface?

I need to call a service file using Systemd -D bus Interface. I think using the g_dbus_connection_call_sync() method we can communicate on D-Bus I need g_dbus_connection_call_sync() to call method ...
user avatar
0 votes
0 answers
17 views

Call XDG portal methods returns no sunch method

I an trying to experiment with xdg portal interface. So of I try to call say methods like open file in org.freefesktop.portal.Desktop using qdbusviewer, it returns no such method. I can see the method ...
user avatar
2 votes
0 answers
20 views

What is responsible for starting the session bus in gdm3?

I'm trying to get gdm3 working on Alpine Linux, but it fails on finding the session bus. Specifically, this assertion fails: https://gitlab.gnome.org/GNOME/mutter/-/blob/40.4/src/wayland/meta-wayland....
user avatar
  • 514
0 votes
1 answer
197 views

How to disable a particular dbus system service under an openrc system

I know that one can override dbus session services in ~/.local/share/dbus-1/services But it necessarily won't work for system services. Under openrc, I don't get systemd's systemctl command therfore : ...
user avatar
  • 2,126
1 vote
2 answers
1k views

Run systemctl --user commands as root

I need root to be able to manage systemctl --user units. Right now I have user1 set up with systemd user units. If the user logs in directly via terminal, GUI, or SSH, they are able to to run all ...
user avatar
  • 285
0 votes
1 answer
197 views

Gnome (gdm) logs in and immediately locks the console. The logs indiciate "WARNING: Could not get session id for session."

Immediately after login to gdm the screen locks and we get this error in the logs: gnome-session-binary[25582]: WARNING: Could not get session id for session. Check that logind is properly installed ...
user avatar
  • 123
0 votes
1 answer
102 views

meld won't start on Cygwin: Complains about the dbus library

I'm trying to get meld to run on Cygwin 64 (just updated - September 2021), on Windows 10. Some relevant package versions: meld: 3.18.0-1 python3: 3.8.6-1 python36: 3.6.13-2 python2: 2.7.18-4 I'm ...
user avatar
  • 7,249
0 votes
0 answers
43 views

OMV5 Booting hang at "Stated update utmp about system runlevel changes"

I'm using openmediavault 5 (NAS) which is based on Debian 10. But when I boot, it hang as described in the title. I did some reseach to fix it and some of the instructions is: pressing Alt+F2 or Ctrl+...
user avatar
  • 1
0 votes
0 answers
96 views

firefox disappears from playerctl

OS is Debian 10. Firefox version is latest in repos, 78.13.0esr. Trying to use playerctl with bluetooth buttons to control playback in firefox. Everything is working fine, I'm away from my desk, ...
user avatar
  • 301
0 votes
0 answers
50 views

When moving from Debian 10 to 11, Dbus problems appeared

I installed Debian 11, but with the old iptables settings (ALL DROP, even lo), dbus issues a connection error (dbus-launch - no such file or directory). Why does this work on Debian 10 and it does not ...
user avatar
  • 1
0 votes
0 answers
24 views

Locking Gnome3 from pydbus doesn't return

Trying to lock the screen from python3 script, it works, but the script doesn't exit. What should I change? pydbus.SessionBus().get("org.gnome.ScreenSaver","/org/gnome/ScreenSaver")...
user avatar
  • 21
0 votes
1 answer
148 views

pkexec shows in command line instead of GUI pop-up [closed]

I just hopped to Pop!_os yesterday and pkexec executes in terminal. It also ran into the error: polkit-agent-helper-1: error response to PolicyKit daemon: GDBus.Error:org.freedesktop.PolicyKit1.Error....
user avatar
  • 11
1 vote
0 answers
129 views

Is /org/freedesktop/DBus accessible from a web browser?

We have some homebrewn applications running in top of a Xubuntu 18.04 OS, communicating with each other using D-Bus. The UI part is run in a web browser and web socket is being used for the ...
user avatar
  • 133
0 votes
1 answer
103 views

Unwanted desktop processes started by systemd at ssh login

When I ssh to my media server, I get a bunch of unrequested processes started up: /usr/lib/systemd/systemd --user /usr/bin/dbus-broker-launch --scope user dbus-broker /usr/bin/pulseaudio --daemonize=...
user avatar
  • 422
1 vote
0 answers
228 views

How to solve problem building images with Podman: "sd-bus call: Connection reset by peer"?

Building a PostgreSQL image with podman 3.1.2 (previous 3.0.1) results in sd-bus call: Connection reset by peer This also happens when executing example from Podman http://docs.podman.io/en/latest/...
user avatar
  • 111
0 votes
0 answers
310 views

D-Bus in Linux inside a Docker container under Jenkins

As the caption may suggest, this is quite a specific question. I have a Docker container image based on Debian Stretch, meant to be used as CI pipeline, launched by a Jenkins task. The software the ...
user avatar
  • 145
0 votes
0 answers
59 views

Are network-manager's dbus paths stable?

I'm having an issue with configuring network-manager via dbus api. System: balenaOS on Raspberry Pi 4. balenaOS is a Docker runtime based on the Linux kernel. It says that it is "built using ...
user avatar
  • 113
0 votes
1 answer
78 views

LXQt Panel has dissapeared after installing Nvidia drivers

(I've seen a few occurrences of a similar issue around so its possible I missed a viable solution in my searches) I installed Nvidia drivers for my system following the instructions on the Arch Wiki (...
user avatar
  • 101
0 votes
0 answers
168 views

My D-Bus is completely messed up. How do I fix it, or at the very least fully start from scratch?

I'm running an EndeavourOS (Arch-based) install with i3, and everything is mostly fine except for my D-Bus and some keyring-related issues. However, I'm pretty sure all of these are linked to D-Bus, ...
user avatar
  • 11
0 votes
0 answers
93 views

Configure dbus to select services depending on current desktop session

I have multiple desktop environments (gnome, kde, xfce, mate) installed. (opensuse leap 15.2, but this does not matter). When sending notifications while using xfce, the mate-notification daemon shows ...
user avatar
  • 1
2 votes
0 answers
1k views

Error spawning command line “dbus-launch --autolaunch=“xyz” --binary-syntax --close-stderr”: Child process exited with code 1

I've been getting this error on multiple occasions. When I enter sudo mousepad I get the following output. [privileged@arched ~]$ sudo mousepad (mousepad:981): Mousepad-CRITICAL **: 14:12:48.549: ...
user avatar
1 vote
1 answer
2k views

D-Bus on Ubuntu inside a Docker container

I am building a Docker image for running a bunch of background processes that communicate with each other using D-Bus. I am basing the image on Ubuntu Bionic. The system already works on native Debian ...
user avatar
  • 145
0 votes
1 answer
397 views

Why does PulseAudio need system dbus?

On this single-user FreeBSD desktop, various desktop-components communicate using the user's own dbus-instance. Yet, pulseaudio also tries to talk to the system-wide dbus (which is not enabled) and, ...
user avatar
0 votes
2 answers
372 views

Where does fprint store fingerprints

I am using fingerprint scanner with python-validity driver. According to fprintd(1), fingerprint data is stored in /var/lib/fprint/ after enrolling a fingerprint with fprintd-enroll. But I have this ...
user avatar
1 vote
0 answers
61 views

Capture sleep, hibernate and wakeup events on Linux

I need to capture these on both laptop and desktop environmetns. Explored 2 options, but unfortunately none of them worked as expected. DBus works on desktop but these events also need to be captured ...
user avatar
1 vote
0 answers
57 views

How to perform action bound to a keyboard shortcut in Gnome from terminal?

How can I perform an action of any Gnome 3 keyboard shortcut in the terminal? For example: I can use dconf-editor to navigate through all keyboard shortcuts and get the dconf path. Let's say: /org/...
user avatar
  • 1,461
1 vote
1 answer
125 views

How to crash/disable/remove bluez interface in Linux?

I am building a bluetooth client for a project and I am looking for a way to crash the dbus bluetooth service offered by bluez, in Linux, prefferably in a controlled, recoverable manner. Do you have ...
user avatar
  • 157
-1 votes
1 answer
65 views

Why systemd says it's dependency system should be used only sparingly?

From systemd.unit(5) man page: Note that while systemd offers a flexible dependency system between units it is recommended to use this functionality only sparingly and instead rely on techniques such ...
user avatar
0 votes
1 answer
2k views

DBUS-call failed:GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown

When I call xdg-open pic.png I get this message. ** (ristretto:7580): WARNING **: 13:44:21.730: DBUS-call failed:GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop....
user avatar
1 vote
0 answers
387 views

How to prevent upowerd from being launched

Running DM-Less KDE-Plasma-5.19.5 Under a non-systemd Linux-5.4.80 and dbus-1.12.20 I try to get rid of the upowerd daemon. I understand that upowerd is launched by dbus upon request from whatever ...
user avatar
  • 2,126
0 votes
0 answers
132 views

Run services as user without X (systemctl)

I have a small server running a minimal centos8. I need to create services as a user and would like to use systemctl to do so. I found I can use systemctl --user to create services without root ...
user avatar
  • 101
0 votes
1 answer
301 views

mask dbus-activated service (rtkit) via ~/.local/share?

I've been trying to mask a dbus-activated service (rtkit-daemon) via the "standard service dirs" location ~/.local/share/dbus-1/services/. The corresponding system file, which I want to ...
user avatar
  • 413
4 votes
1 answer
1k views

hostnamectl command causes Failed to create bus connection: No such file or directory

I'm following this guide and I'm running into issues. https://www.tecmint.com/initial-ubuntu-server-setup-guide/ I am trying to create a linux machine in Ubuntu in wsl2 and then rename it using ...
user avatar
1 vote
1 answer
3k views

a systemd service that starts a dbus service

I'd like to start a python script that uses pydbus to listen for incoming commands via D-Bus on boot, and it needs root permissions. It would be nice if it can be stopped and restarted via systemctl, ...
user avatar
  • 311
0 votes
1 answer
104 views

How to run qtdbus application as systemd?

Nice to meet you. I made an application (car<-> controller) that communicates using qtdbus provided by Qt. see. https://doc.qt.io/qt-5/qtdbus-remotecontrolledcar-example.html Fortunately, I was ...
user avatar
0 votes
1 answer
855 views

Ubuntu Notification Failed to execute program org.freedesktop.Notifications: No such file or directory (23)

i was working on a python script that displays notification, here's the library I'm using https://www.devdungeon.com/content/desktop-notifications-linux-python from gi.repository import Notify Notify....
user avatar

1
2 3 4 5 6