Questions tagged [dbus]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
12 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....
rdrg109's user avatar
  • 185
0 votes
0 answers
66 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
  • 1
1 vote
0 answers
319 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
742 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
218 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,026
0 votes
1 answer
38 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
845 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
951 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
262 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
1 vote
1 answer
1k views

Apache2 not responding to port 80 IPv4 requests

Have encountered a strange problem where my apache2 daemon although supposedly listening according to netstat and lsof is not responding to requests. Here is what I have found so far. Ensure port 80 ...
tgunr's user avatar
  • 146
1 vote
1 answer
287 views

Running awesome-client (which uses dbus) from acpid

I set up a acpid rule to execute the following command, whenever I receive a specific acpi message: awesome-client "activate_tabletmode()" Where activate_tabletmode() is just some function ...
dj_rydu's user avatar
  • 13
26 votes
6 answers
57k views

systemctl --user Failed to connect to bus: No such file or directory Debian 9

When I run this commande in my Debian 9 VPS : systemctl --user I have this following error : Failed to connect to bus: No such file or directory This error appear on all users except the user root. I ...
Alexandre Sandolo's user avatar
3 votes
1 answer
15k views

Connection reset by peer on systemctl as root

I've setup WSL 2 (Ubuntu) and I installed systemd (and systemd-sysv) there. After that, I ran: sudo mkdir -p /run/dbus sudo dbus-daemon --system sudo daemonize /usr/bin/unshare --fork --pid --mount-...
dan1st's user avatar
  • 301
0 votes
1 answer
207 views

Fedora30 upgrade: Cannot run KDE as a specific user

I've upgraded from Fedora 29 to Fedora 30. Alghough root can use KDE normally, I fail to use it as a specific user. An almost black fullscreen window appears with a responsive mouse arrow in the ...
Luis A. Florit's user avatar
2 votes
1 answer
2k views

Talk to Host machine's Dbus through Docker

I have my application that performs certain task with the help of NFS-Ganesha. During this it talks to NFS-Ganesha through DBus. But now I am planning to run NFS-Ganesha on Docker Container. (My ...
Deep Diwani's user avatar
0 votes
1 answer
750 views

Failed to get D-Bus connection: Opération non permise

I'm using a centos 7 OS, I have removed /var/run/dbus/system_bus_socket after i accidently removed the /var/run folder. Now when i'm trying to use systemctl command i'm getting the error mentioned ...
Zied Yazidi's user avatar
1 vote
1 answer
646 views

How do I get .service files for gnome-keyring?

My ultimate goal is to get gnome-keyring functioning as a credential storage for use by shell and python scripts on an RHEL 6 server. The admins installed package gnome-keyring-2.28.2-8.el6_3.x86_64, ...
Azide's user avatar
  • 11
3 votes
0 answers
64 views

dbus-monitoring loop exits automatically

I'm trying to execute a bash command on screen lock/unlock. Following tutorials & StackExchange questions, I came up with the following code: #!/bin/bash while true; then #added to try to solve ...
Silverspur's user avatar
2 votes
1 answer
2k views

Unable to start dunst notification daemon for user

I did a clean arch install with only XDM and i3 to serve as login/window managers. I have also installed dunst package; and according to arch wiki nothing else is required for it to work. However, ...
hjpotter92's user avatar
0 votes
1 answer
2k views

xinit for correct start of awesome wm in Manjaro (xrdp)

Configuration: Hyper-V virtual machine, Generation 1 Manjaro 18.00 with awesome WM xrdp Server installed & running (https://wiki.archlinux.org/index.php/xrdp) Connecting to this VM from a ...
bambino307's user avatar
0 votes
0 answers
210 views

systemd-stdio-bridge and D-Bus errors when trying to execute 'hostnamectl' remotely

Executing hostnamectl command to know host's chassis. Want to write a proper script to run on a certain list of hosts, but having a problem when executing hostnamectl -H. Note! works as expected ...
igor's user avatar
  • 423
6 votes
3 answers
4k views

Use MPRIS/dbus media commands within Firefox on Linux

Back on Windows, I was able to play/pause youtube videos within firefox using the media buttons on my keyboard. On Linux I am really missing this ability. Is there any way I can send MPRIS commands ...
confetti's user avatar
  • 2,417
1 vote
1 answer
679 views

map headset button in gnome3

How can I map in gnome3 the button from my bluetooth headset? Gnome sees a AcceleratorActivated event when I press it: $ dbus-monitor --monitor signal time=1525078944.868498 sender=:1.17 -> ...
Eric's user avatar
  • 157
1 vote
0 answers
8k views

Can't start services, probably policykit error

I can't restart services as root on CentOS. Unable to register authentication agent: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PolicyKit1 was not provided by any ...
spraff's user avatar
  • 2,126
3 votes
0 answers
129 views

NFS /usr/share breaks Policykit beause of inotify support

I just tried moving some files including /usr/share to a NFS partition to save space when running many similar virtual machines. The configuration mostly works except when starting services I think ...
spraff's user avatar
  • 2,126
4 votes
1 answer
3k views

How to auto-rotate the screen using Yoga 900's accelerometer?

The Yoga 900 has an accelerometer which should allow auto-rotation behavior. On installing https://github.com/hadess/iio-sensor-proxy (Linux*, LightDM) it is possible to run monitor-sensor. ➜ ~ ...
Anne van Rossum's user avatar
1 vote
0 answers
362 views

lightdm set an wrong DBUS_SESSION_BUS_ADDRESS

I'm using archlinux and lightdm+lightdm-gtk-greeter+aweome as my work environment. I found my DBUS_SESSION_BUS_SESSION is not properly setup, when I enabled lightdm as my login manager.This ...
Hacksign's user avatar
  • 131
1 vote
1 answer
1k views

I want to inhibit the autostart of kwalletd5

I'm not able to find a way to disable the automatic start of kwalletd5 on Fedora 24 with XFCE4. pstree displays: fetchmail firefox─┬─{BgHangManager} ├─{Cache I/O} ├─{Cache2 I/O} ...
Claude Frantz's user avatar
0 votes
1 answer
279 views

How to bind a key to cycle profiles in roxterm?

I'd like to be able to switch profiles in roxterm, without having to access the menu each time. How could this be done?
ideasman42's user avatar
6 votes
0 answers
3k views

systemctl debian 8 jessie: Failed to get D-Bus connection: Unknown error -1 [duplicate]

Unfortunately, in my Debian 8 jessie systemctl does not work at all. Every systemctl command results in: Failed to get D-Bus connection: Unknown error -1 systecmtl status udev Failed to ...
Ivan's user avatar
  • 281
0 votes
1 answer
108 views

Centos: there is no ~/.cache/upstart

I'm new with linux.As I know ~/.cache/upstart is folder where system processes log their stuff. But I can't find this folder in Centos. What I'm most curious about is that on Ubuntu this folder ...
user590536's user avatar
2 votes
1 answer
5k views

Getting error: "Error constructing proxy for org.gnome... Could not connect: Connection refused" when running gnome-terminal

I am getting the error: "Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Could not connect: Connection refused" when I try to run gnome-terminal. I am running CentOS 7. I ...
Rabee's user avatar
  • 123
1 vote
1 answer
4k views

Dbus: How can I monitor process?

I'm new with Dbus and I'm curious if there is any way to monitor process and see if this process receives any Dbus messages. (I'm working on some project and want to know if Xserver receives any Dbus ...
user590536's user avatar
2 votes
1 answer
2k views

Unable to switch to greeter

I'm using LightDM 1.16.5 along with the Awesome window manager on NixOS. After logging in, I am unable to switch users without first logging out of my current session. The command dm-tool switch-to-...
arussell84's user avatar
6 votes
2 answers
7k views

How to reliably attach to session DBUS over ssh?

I hardly had any success using a dbus-dependent tool over ssh (for example pactl -- pulseaudio command line interface -- that selects audio output). I know how to manually export the session's DBUS ...
dronus's user avatar
  • 1,870
3 votes
0 answers
7k views

DBus over Network (TCP)

I'm trying to communicate with a remote DBus (i.e. IP 10.100.20.101) from a host (i.e. IP 10.100.20.102) - X86_64 platform to ARM development board. I've tried the solutions from here but it caused ...
Toni's user avatar
  • 31
11 votes
1 answer
5k views

Ubuntu 15.04: suspend from console without sudo

For years I have been able to suspend my Ubuntu-based machine from regular account using dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop....
narthi's user avatar
  • 213
2 votes
1 answer
1k views

How to update DBUS_SESSION_BUS_ADDRESS in tmux when that address changes?

I have noticed, that I can’t run steam in a tmux pane: it gave me error Error: Unable to open a connection to X. Check your DISPLAY environment variable and make sure that you have enabled X. If ...
tijagi's user avatar
  • 340
0 votes
4 answers
1k views

Trying to run Konsole from XMing (Windows) fails

Connecting from XMing latest running on a Windows 7 laptop to an Ubuntu 14.04 server running KDE. I get the following error: cpatti@hab: ~ $ konsole ...
feoh's user avatar
  • 111
1 vote
0 answers
330 views

Error in D-BUS session in Ubuntu

Hi I get the following error upon starting the xfce4-panel Failed to connect to the D-BUS session bus: Failed to connect to socket However Dbus is running as i checked it in HTOP I get the error in ...
Shenal Silva's user avatar
  • 1,043
1 vote
1 answer
347 views

Is there a DBus command for adding a program start button to a KDE plasma panel?

There was a nice command in KDE3 that allowed my to add a program start button to a kicker panel programmatically: dcop kicker $PANEL addNonKDEAppButton "$PROGRAM_NAME" "$PROGRAM_DESCRIPTION" "$...
Stefan Endrullis's user avatar
1 vote
0 answers
610 views

Notifications don't show up (notify-send notify-osd)

Notifications via notify-send and notify-osd stopped working for me for no apparent reason. notify-send does not display anything. notify-osd displays this error: ** (notify-osd:30409): WARNING **: ...
mehturt's user avatar
  • 83
6 votes
2 answers
4k views

Use dconf (or comparable) to set configs for another user

On Ubuntu Desktop 13.10, I have a setup script which runs as root. It essentially configures the computer as necessary, but I need to set some things with dconf. The script runs in a Terminal window ...
Josh The Geek's user avatar
0 votes
1 answer
104 views

monit fails to support dbus session

I am trying to use monit to monitor and automatically issues like crashes, memory leaks and cpu hotspinning. For one application - one that uses DBus (serving and calling funcs) just will not start. ...
drahnr's user avatar
  • 370
2 votes
0 answers
5k views

Connection to dbus session failed

I am running Debian 6 with Gnome 2.30.2 (old, but it's the workstation I have to use). When I want to run dbus-monitor or any other dbus application from within tmux, I get an error: $ dbus-monitor ...
Arne's user avatar
  • 759
7 votes
1 answer
2k views

Where can I find a full list of wpa-* options for the interfaces file?

I'm looking for an exhaustive list of wpa-* options that can be used in the /etc/network/interfaces file. The Debian wiki has a how-to-use page here: https://wiki.debian.org/WiFi/HowToUse, which ...
MatthewD's user avatar
  • 343
1 vote
0 answers
408 views

is my dbus setup broken? (or: why aren't the envvars set?)

Lots of dbus-using applications respond to method calls and send signals just fine, so obviously not everything is broken for me. However: In my terminals, $DBUS_SESSION_BUS_FOO environment variables ...
ben w's user avatar
  • 121
2 votes
1 answer
2k views

What DBus signals do I send to players to imitate Gnome's multimedia shortcuts?

I have Xubuntu 11.10, XFCE. I want to send DBus signals to the players so that they worked like in Gnome: you press 'play' key, it plays, 'next' - it forwards, and so on. For that, I need to bind to ...
culebrón's user avatar
  • 500
1 vote
1 answer
1k views

Useless nm_dbus_manager_init_bus error messages fill log

My system runs fine, but /var/log/messages repeats this message every few seconds, filling up my log directory: Oct 13 09:10:57 barry NetworkManager: <WARN> nm_dbus_manager_init_bus(): Could ...
user avatar
20 votes
1 answer
3k views

How to use headless Skype over DBUS on Debian

I installed Skype on Debian and ran it headless, however, I cannot interact with it over dbus. Some context of what I have so far: Installed Debian 6 on VMware fusion box from netinst CD Skype ...
Priit's user avatar
  • 301