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

learn more… | top users | synonyms (1)

-1
votes
0answers
11 views

Xubuntu: logout using dbus

I'm new with Xubuntu and I have question. I'm logged in as user A, create a process in the name of B, that process creates session(/etc/X11/Xsession default) for user B. I want to terminate a session ...
0
votes
0answers
27 views

Debian No D-BUS running

I have a python script which run firefox on Debian from selenium import webdriver url = '...' driver = webdriver.Firefox() driver.get(url) When I run say this Does anyone have any idea?
3
votes
1answer
32 views

How to cause udisksctl to act for another user?

Logged in as the root user, udisksctl mount mounts my device at /media/root/mydevice. Alternately, logged in as another user, udisksctl mount mounts my device at /media/anotheruser/mydevice. So far, ...
0
votes
0answers
13 views

After taking some screenShot , bash prints “(shutter:13396): Unique-DBus-WARNING **: Error while sending message

On my Application in ubuntu 14.04 system, i am using this command : system("shutter -s 12,32,613,786 -o sample.jpg"); on action of specific button , after several times of clicking on this button, ...
0
votes
0answers
13 views

KDE: Does not log dbus name

I'm new with KDE. I have ubuntu 14.04 and installed KDE on it, I'm logged in as user A, create process as user B, that process creates session for user B(using /etc/gdm/Xsession startkde), as I know ...
1
vote
0answers
20 views

Dbus: Terminate not working on other user

I'm new with dbus(Using Ubuntu 14.04, Unity). So I'm logged with user A, create process as user B and that process creates session for user B, now I want to use dbus messages to shut down session from ...
2
votes
1answer
116 views

Universal way to logout from terminal via dbus

I'm new with dbus, and saw different ways to log out from terminal depending on desktop env. But I'm curious is there any way to log out from any desktop env using dbus messages? On GNOME: dbus-send ...
1
vote
0answers
18 views

Can we run two system dbus processes of different version?

I have two installations of gtk and dbus: The default system installation of version which is not supported for meld. Shared installation of version that supports meld and for use across different ...
0
votes
0answers
21 views

PAM: make dbus listen to some address

I'm new with PAM and have some questions about it. Is possible to make PAM configure dbus, and make dbus listen to some address?
0
votes
0answers
36 views

Systemd, start user level unit with sudo access.

I have a debian package which installs my software and it needs to start two applications in post install script. First one is daemon and the second one is a background process both are managed with ...
0
votes
0answers
9 views

What minimum options should be given to configure for installing dbus across machines on shared directory?

I am installing dbus from source on Redhat 6 server on NFS share to be used across all the servers (which are mostly similar). Along with --prefix, which other options are required? The reason for ...
1
vote
0answers
54 views

What happens if dbus connection fails?

I am trying to find a root cause for server hung. I found that a process crashed with process id 14900 and the following are the log in message. No core dump is saved as it is not related to any ...
3
votes
0answers
50 views

Dbus: Logout other user

I'm new with dbus. I know how to logout current user from terminal using dbus messages dbus-send --session --type=method_call --print-reply --dest=org.gnome.SessionManager /org/gnome/SessionManager ...
2
votes
1answer
18 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
68 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
83 views

Mount FTP using GVFS at the command-line

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 ...
2
votes
1answer
162 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 ...
4
votes
0answers
40 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
24 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: http://www.thekelleys....
0
votes
0answers
30 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
283 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
99 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
105 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
156 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
284 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
63 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
137 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 ...
4
votes
2answers
4k 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 'org.freedesktop....
3
votes
2answers
106 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
72 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 \ --type=...
1
vote
0answers
86 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
134 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 org....
0
votes
1answer
295 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
118 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 org.mpris....
1
vote
0answers
128 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
808 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
568 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
525 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 ...
10
votes
4answers
3k 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(): ...
3
votes
1answer
253 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
55 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
285 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
607 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
239 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 | ...
4
votes
1answer
487 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 /org/...
2
votes
0answers
218 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 $...
1
vote
1answer
1k 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
992 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 ...