Skip to main content

Questions tagged [dbus]

The tag has no usage guidance.

0 votes
0 answers
32 views

LXQt shuts down instead of suspend

I've installed Debian Bookworm with LXQt on my old ASUS X205TA notebook. Almost everything works fine except when I press the Fn+Zz button (X86Sleep) bound to "/powermanager/keysuspend", the ...
zc2's user avatar
  • 101
0 votes
0 answers
80 views

How to make sure dconf (or gsettings) and <guix>/dconf-editor use the same backend database

Disclaimer: I'm running Guix package manager as a user on Ubuntu 22.04.4. That is most likely part of the problem: Guix uses non traditional paths for packages and sets symlinks and various search-...
Necto's user avatar
  • 101
0 votes
0 answers
2k views

How to start dbus on Docker/Linux? Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory

I am running puppeteer through Node.js in Docker and was getting this error after not doing anything with dbus: puppeteer:browsers:launcher Launching /usr/bin/google-chrome --allow-pre-commit-input --...
Lance's user avatar
  • 387
1 vote
1 answer
74 views

Runing a command as user is not the same as logging as the user and running the command

I am trying to get a way to execute a script from a root session, but I am having some trouble with it. I'll lay out the issue: I have a script that performs some tasks as the regular user 'kolterdyx',...
Ciro García's user avatar
1 vote
1 answer
240 views

start non-root user systemd and systemd services via sudo without enable-linger

I'm like to be able to start a systemd session (e.g. systemd --user) for a given non-root user, and subsequently start a service (e.g. systemctl --user start SERVICE.service), all via a sudo -iu USER ...
crimson-egret's user avatar
0 votes
1 answer
107 views

How to get access to run a D-Bus method?

When I run this command to run the org.gnome.Shell.Introspect's GetWindows() method: dbus-send --session \ --print-reply \ --dest=org.gnome.Shell.Introspect \ /org/gnome/...
eminfedar's user avatar
  • 103
0 votes
1 answer
120 views

Make `busctl` only output `data` (i.e. don't include `type`)

The context The question Additional information The context I know that busctl can be used to get the number of pages of the current document in a Zathura instance. busctl --user get-property org....
Rodrigo Morales's user avatar
1 vote
0 answers
605 views

Prevent kf.dbusaddons: DBus session bus not found. To circumvent this try the following command (with bash): export $(dbus-launch)

To launch GUI applications in kde (plasma) in Ubuntu Jammy I need to first manually do export $(dbus-launch) and then launch the app from this console Otherwise it won't start (saying kf.dbusaddons: ...
EcSbm's user avatar
  • 11
1 vote
0 answers
656 views

I am not able to run 'dbus-launch' into Alpine Linux with Docker 23

This is something that worked correctly with Docker 20, but with the change to Docker 23 it keeps "thinking" infinitely and consuming CPU (i.e. freezes). I simply launch dbus in a Docker ...
Óscar García Amor's user avatar
0 votes
1 answer
3k views

How to debug: Failed to connect to bus: No such file or directory (systemctl --user status)?

I am trying to run systemctl --user status from a user account in order to not run services from root. The way I do it is as follows: loginctl enable-linger $USER export XDG_RUNTIME_DIR="/run/...
Newskooler's user avatar
1 vote
1 answer
845 views

How to get the session dbus to use /run for its socket?

In an X11 session, my session dbus uses /run/user/1000/bus for its socket. When I launch a dbus session in ssh with dbus-launch it creates a socket in /tmp and it seems to be by design as /usr/share/...
allo's user avatar
  • 1,158
0 votes
1 answer
103 views

How to silence output from "dbus-daemon" or "gio mount"

I want to mount a smb share in userspace using gio mount and a kerberos ticket. That works so far. But the dbus-daemon constantly writes out a message on stdout like dbus-daemon[2305]: [session uid=...
Broms's user avatar
  • 1
1 vote
1 answer
2k views

Running standalone window manager without a D-Bus session in Linux

Here is a prehistory for my question, if some more details are needed, the actual question is in the second paragraph. So I have been using standalone window manager for a couple of months on ...
Viaceslavus's user avatar
1 vote
1 answer
2k views

DBus Send from shell

I need to send a method call with DBus from shell when i send this code from shell : dbus-send --print-reply --system --type=method_call \ --dest=vehicle.network.service /Diag \ vehicle.network....
user avatar
2 votes
1 answer
344 views

Use playerctl in systemd-nspawn container

When I launch a web browser in a systemd-nspawn container, playerctl commands don't work to play and pause multimedia, though they work for browsers outside of the container. Is there an environment ...
grandinero's user avatar

15 30 50 per page
1
2 3 4 5