A message bus system, a simple way for inter-process communication. It also helps coordinate process lifecycle.

learn more… | top users | synonyms (1)

2
votes
1answer
13 views

Which service is registered for certain interface on D-Bus?

I know PolKit uses org.freedesktop.PolicyKit1.AuthenticationAgent interface to connect to authentication agent. I want to know which service is registered for this interface. What is the best way to ...
2
votes
0answers
42 views

I have trouble analysing the cause of this (firefox) segfault

When executed within a minimal (unprivileged) LXC container, firefox segfaults (other graphical applications work fine). I'am unable to find the exact cause of this segfault (which is most likely due ...
1
vote
1answer
46 views

Mount FTP using GVFS in bash

I am on Debian Jessie without desktop environment. I try to mount an FTP by command line using gvfs-mount. I gathered information on the web and I understood that gvfs comunicates with dbus. So my ...
1
vote
1answer
79 views

How do I use GNOME Keyring with Python Keyring in virtual environment?

I have written a Python script that I would like to run in the background on my Raspberry Pi. The script makes use of the Python module Keyring (link), which is used to access a keyring backend to ...
3
votes
0answers
35 views

How do I run a systemd oneshot service whenever my system gets a new IPv6 address?

I would like to run a systemd oneshot service whenever my system gets a new IPv6 address assigned to it from the network router (this would be on boot, and periodically throughout its uptime). ...
1
vote
0answers
20 views

How can I connect to NetworkManagers's dnsmasq instance via dbus?

I'd like to interact with the dnsmasq instance spawned by NetworkManager via it's dbus-Interface. I couldn't find the address, object path etc., the only thing I could dig up is: ...
0
votes
0answers
25 views

Log dbus Desktop Notifications

Sometimes I get error messages in desktop notifications, such as this: Unfortunately, it's difficult to debug this. I can't use xprop to see the process id that sent it. It claims to be from ...
0
votes
1answer
162 views

Ubuntu 14.04 dbus unable to start any daemons

syslog for running sudo invoke-rc.d dbus restart: Feb 28 22:01:45 javaprophet-desktop NetworkManager[946]: <info> caught signal 15, shutting down normally. Feb 28 22:01:45 javaprophet-desktop ...
0
votes
1answer
77 views

Why does /etc/machine-id changes at reboot?

/etc/machine-id changes at each boot on my recent Debian Jessie install. The docs say it shouldn't: The machine ID is usually generated from a random source during system installation and stays ...
1
vote
2answers
78 views

What makes it possible for a `pulseaudio' process to get the nice level of -11?

I noticed that a pulseaudio process on my Gentoo Linux machine has the nice level of -11. But I don't know how it has gained such a high priority regardless of being owned by a normal user. I know a ...
5
votes
1answer
105 views

Mount CIFS shares as non-root on RHEL7 w/o desktop

We have a Windows (AD) domain which a RHEL/CentOS 7 server has joined (SSSD / realmd). The users log into the server via SSH with their AD credentials. Now the users should be able to mount some of ...
1
vote
0answers
216 views

g-io-error-quark 39 error when stopping dbus-service

When I restart a particular computer there is an error message, # init 6 Error getting authority: Error initializing authority: Could not connect: Connection refused (g-io-error-quark, 39) I ...
3
votes
1answer
53 views

How to register rhythmbox service on system dbus?

Installed rhythmbox and rhythmbox-plugins but there is no org.Rhythmbox in the list of available dbus services. To view the list I use: dbus-send --system \ --dest=org.freedesktop.DBus \ ...
2
votes
1answer
75 views

Access to user's session D-bus from their cron commands

What is needed to give cron commands access to the session bus (if it is running)? It used to work for me, on Debian Stretch (testing) since switching systemd until relatively recently (might have ...
3
votes
1answer
2k views

dbus: [system] Failed to activate service 'org.freedesktop.login1': timed out

I keep getting the following error messages in the syslog of one of my servers: # tail /var/log/syslog Oct 29 13:48:40 myserver dbus[19617]: [system] Failed to activate service ...
3
votes
2answers
80 views

Get environment variables of running session

Yes, I know that this question is a bit confusing, I just mean "the variables which are acessible from session's command line". I am writing an application which runs automatically by upstart on ...
1
vote
0answers
62 views

I want to see the list of all dbus interfaces with a command in terminal .h

I know how to get the list of all services in dbus but then I want to see the list of interfaces inside each service. dbus-send --session \ --dest=org.freedesktop.DBus \ ...
1
vote
0answers
76 views

Playerctl/dbus not working with Spotify

I need a way to play/pause Spotify from the command line, but the dbus method and playerctl both say 'connection refused'. How can I fix/troubleshoot this?
0
votes
1answer
113 views

Service org.kde.ksmserver does not exist

I'm running a box that has an old version of KDE (3.5.7). I was looking at restarting the KDE session from the command line and reading online I found the following solution using qdbus: qdbus ...
0
votes
1answer
236 views

How to detect the screen is locked or not when the screen saver is active on Redhat 6.6?

There are two screen saver options in Redhat 6.6 menu "System->Preference->Screensaver": (1) The option "Active screen saver when computer is idle". Check this option will cause the screen saver is ...
1
vote
2answers
108 views

toggle vlc fullscreen using dbus and mpris

I am programming my keyboard shortcuts in awesome wm. At the moment I use qdbus to control media players and they all work except for full screen of vlc. The command I use is: qdbus ...
1
vote
0answers
120 views

Run a script on a failed screen unlock attempt

I want to run a script in Python to detect when a user tries to unlock the screen, but fails. I use elementary OS Freya and light-lock. I tried it with dbus, but I couldn't figure out how to do it. ...
0
votes
2answers
695 views

How to monitor the screen lock/unlock in the Ubuntu 14.04

I need to implement a function that monitors the screen lock/unlock. I referred to the following article: Run script on screen lock/unlock My python script code works fine in Ubuntu 12.04, but it ...
3
votes
1answer
518 views

How do I tell systemd-logind that the session is not idle, without using a desktop environment or session manager?

I want to use logind for power management. After 30 minutes of inactivity, I would like the computer to suspend. Problem is, right now, it suspends after 30 minutes, even when I am active with mouse ...
5
votes
1answer
486 views

Why doesn't wicd install its daemon?

Yet again, I've found myself banging my head against the wall after having issues with wicd (the most consistenly buggy piece of widely-used software I've ever used). This time, after installing ...
9
votes
3answers
2k views

How to list all object paths under a dbus service?

This is a follow-up question to A list of available DBus services. The following python code will list all available DBus services. import dbus for service in dbus.SystemBus().list_names(): ...
2
votes
1answer
185 views

Setroubleshoot dbus access error

When running setroubleshootd in fedora, I get this error: org.freedesktop.DBus.Error.AccessDenied: Connection ":1.79" is not allowed to own the service "org.fedoraProject.Setroubleshootd" due to ...
0
votes
1answer
52 views

Tomboy won't start: Configuration server couldn't be contacted

I'm unable to start Tomboy on my Gentoo Linux system. It used to work, but now I just get Unhandled Exception: GLib.GException: Configuration server couldn't be contacted: D-BUS error: Method ...
2
votes
1answer
248 views

A way to list all running dbus session buses?

Is there a convenient or canonical way to find the address of every session bus currently running?
2
votes
1answer
573 views

Xen libvirt access for non-root user

I've installed Xen and libvirt on a CentOS 6.6 machine. All the tools (virt-manager, virsh etc) work perfectly as root (directly or via sudo) but I cannot allow another user to connect (failed to ...
2
votes
0answers
214 views

UNIX sockets vs AF_NETLINK vs Kdbus vs Binder

What are essential differences between those IPCs? Which are main use cases? Is there some consolidated comparison table between them somewhere? Something like: Protocol: AF_UNIX | ...
3
votes
1answer
412 views

Detect if screensaver is active

I want to detect whether the screensaver is active. On Ubuntu 14.04 and Fedora 21, I tried the following command: $ dbus-send --print-reply=literal --dest=org.freedesktop.ScreenSaver ...
2
votes
0answers
180 views

How can I monitor the interactions of an application with dbus?

I think the title says it all. I have a set of applications, I want to montior any and all interactions of the applications with dbus. The things I've played with don't seem to have a way of focusing ...
10
votes
1answer
2k views

D-Bus authentication and authorization

I'm trying to set up remote access to D-Bus, and I don't understand how authentication and authorization are (not) working. I have a D-Bus server listening on an abstract socket. $ echo ...
0
votes
1answer
945 views

what is the difference between exec and dbus-launch?

If I start a process, particularly at session start, what is the difference between using exec p and dbus-launch p?
0
votes
0answers
882 views

/var/run/dbus/system_bus_socket: No such file or directory

I've been using Linux systems for years now and wanted to try Kali Linux as my next. I've been using Backtrack before as well and never experienced errors. However, I just installed Kali and boot up ...
1
vote
0answers
33 views

gentoo xfce auth problem

When i launch xfce on normla user: with consolekit and dbus i have all shutdown,reboo,suspend etc buttons but the are grey inactive. Without consolekit and dbus I can shutdown but ther are no susupend ...
1
vote
0answers
308 views

(virt-manager:4796): Client failed to connect to the D-BUS daemon / Unable to connect to libvirt

I would like to boot and run Windows 8 with kvm or xen while I'm running Debian Wheezy. Actually I have installed Windows 8 on the external USB disk and Debian Wheezy on the hard disk sata. I'm tryng ...
2
votes
0answers
145 views

Connect with D-Bus in a network namespace

I am using network namespaces such that I can capture network traffic of a single process. The namespace is connected through the "host" via a veth pair and has network connectivity through NAT. So ...
0
votes
1answer
141 views

gconftool-2 doesn't refresh with the dbus anymore?

I used to use gconftool-2 to edit keys in this way (here I change the cursor shape in gnome-terminal): gconftool --type string --set /apps/gnome-terminal/profiles/Profile0/cursor_shape ibeam But it ...
3
votes
0answers
123 views

Running script before suspending while using dbus

I have a file: /etc/pm/sleep.d/85rmNvidiaModule. In it I have: #!/bin/bash case $1 in suspend) echo "Oh, this time we are doing a suspend to RAM. Cool!" sudo modprobe -r ...
2
votes
0answers
148 views

How do I run my program (and dbus) as a service on a headless server?

I have a Fedora 20 server running headless, which I want to run my service. I'd like it managed by systemd so that it runs whenever the server is powered on. My service is written in Python, and ...
4
votes
1answer
563 views

Will kdbus replace D-Bus?

According to this LWN article kdbus is supposed to replace D-Bus. Can this be confirmed somehow? I wonder if after all this will be an easy task as I would imagine that both have a distinct API? To ...
2
votes
0answers
863 views

Determine DBUS_SESSION_BUS_ADDRESS from outside the X session

I've got mate-screensaver installed on a machine running Linux Mint 16. On that machine, I can open up a terminal and query the state of the screensaver: dan@box1 ~ $ echo $DISPLAY :0.0 dan@box1 ~ $ ...
2
votes
1answer
244 views

Is revealing DBUS_SESSION_BUS_ADDRESS variable a vulnerability?

I found this instructions: Using notify-send with cron Revealing the content of your DBUS_SESSION_BUS_ADDRESS like in this answer gives access to every user logged in to your session: #!/bin/sh ...
2
votes
0answers
64 views

Create a notification on the screen initiated by root [duplicate]

I would like to give out a notification on screen by a script that is running by root on Ubuntu 14.04. I tried this: #!/bin/bash MAINUSER=$(cat /etc/passwd|grep 1000|sed "s/:.*$//g") su $MAINUSER -c ...
3
votes
1answer
258 views

How to modify a dbus service's “Exec” line without losing the changes in case of upgrade

I'm facing a ugly problem with my system. my login manager (LightDM) is starting gnome-keyring-daemon at login successfully and unlocking my keyring as it should (EDIT: Everything via PAM). The thing ...
4
votes
2answers
682 views

Run `dbus-send` in a remote system

I'm trying to run dbus-send in a remote system but somehow I'm not able to run it. But the same dbus-send, if I run it in the local system, is working fine. COMMAND: ssh remote@xx.xx.xx.xxx ...
0
votes
1answer
53 views

How to get banshee music name through dbus?

qdbus org.bansheeproject.Banshee /org/bansheeproject/Banshee/PlayerEngine how to get the value of this property? property read QVariantMap org.bansheeproject.Banshee.PlayerEngine.CurrentTrack
0
votes
0answers
2k views

Avahi daemon can't launch due to dbus-daemon problems

I'm trying to run avahi-daemon on CentOS 6.5, but when I run it I get this error: bash-4.1# avahi-daemon Found user 'avahi' (UID 70) and group 'avahi' (GID 70). Successfully dropped root privileges. ...