The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
0answers
10 views

Detect if screensaver is active

On Ubuntu 14.04, I'm trying to detect whether the screensaver is active with the following command: $ dbus-send --print-reply=literal --dest=org.freedesktop.ScreenSaver /org/freedesktop/ScreenSaver ...
2
votes
0answers
31 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 ...
0
votes
0answers
23 views

openSUSE Tumbleweed: GDM fails to start gnome-session, G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag

Last week I installed openSUSE 13.2 with Xfce on my Thinkpad T500, and upgraded to Tumbleweed. I decided to switch to GNOME 3.16, and installed it via pattern from YaST, and set the display manager to ...
7
votes
0answers
38 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
votes
1answer
31 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
72 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 ...
0
votes
0answers
36 views

Getting started with D-Bus using C++ and systemd

I'm trying to get up & running with systemd dbus on my Linux desktop machine. What is a good place to start ? Is there an exhaustive documentation of systemd dbus API ? My first goal is to enable ...
1
vote
0answers
16 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
92 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 ...
1
vote
0answers
28 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
0answers
89 views

In a buildroot system, understand the expected kernel -> udev -> hal/dbus communication

I am using a system based on buildroot. I wanted to have some system logs such as USB insertion/removal, disk alarms etc. to be raised on DBus system interface. So I selected DBus and eudev in make ...
0
votes
0answers
156 views

Fail to install bluez - “action force-reload failed”

I fail to install Bluez on my host: $ sudo apt-get install bluez ... The following NEW packages will be installed: bluez 0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded. Need to get 0 ...
0
votes
1answer
44 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 ...
2
votes
0answers
49 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
56 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 ...
3
votes
1answer
262 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
135 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
97 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
58 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
114 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 ...
0
votes
0answers
112 views

Remote dbus-send error: Error org.freedesktop.DBus.Error.ServiceUnknown: The name project.AppManager.Service was not provided by any .service files

I'm trying to execute dbus-send over a ssh sesion[in remote target].The dbus service is already launched by the systemd and I just want to call a method of that service through dbus-send ...
4
votes
2answers
265 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
33 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
1k 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. ...
1
vote
0answers
385 views

nmcli freedesktop DBus warnings and errors

As soon as I do nmcli con up id <ESSID>, I experience some warnings/errors: ** (process:4841): WARNING **: async_got_type: could not read properties for ...
5
votes
1answer
2k views

Gnome programs (eog/gnome-terminal) have a slow start and produce a DBus.Error.NoReply Warning

For some time eog and gnome-terminal are starting very slow on my (X)Ubuntu 13.10. I think other gnome tools are affected, too, but I don't use any else. Now I get a ...
2
votes
1answer
116 views

How can I investigate what other users are currently logged in?

Since the last few days I get an error message when I try to shut my laptop down: System policy prevents stopping the system when other users are logged in This error message includes a prompt ...
2
votes
0answers
97 views

How can I run a KDE plasma script from command line without GUI?

I want to run a plasma JavaScript file from command line, but the only solution I found so far involves a graphical script editor and requires a user interaction to run the script: qdbus ...
2
votes
1answer
149 views

Whats the sense of dbus objects?

Despite reading through tons of Dbus - tutorials, I still struggle to understand the whole concept. In my opinion this was one of the best explanations so far: ...
0
votes
1answer
222 views

W/libdbus ( 985): Failed to start message bus: Failed to open “/etc/dbus.conf”: Permission denied

In the log of one of my embedded devices, the following message appears: W/libdbus ( 985): Failed to start message bus: Failed to open "/etc/dbus.conf": Permission denied Device is: IconBit XDS73D ...
0
votes
1answer
1k views

Debian and Systemd: breaking ordering cycle error

I'm a new embedded developer I'm trying to make systemd 37 work with freescale vybrid board (A5 and M4) running on linux-3.0 After boot with some breaking ordering cycle error, I check with ps ...
0
votes
0answers
117 views

Which Desktop Environments do not require D-Bus?

Are there Desktop Environments (i.e. something comparable to Gnome, KDE, Xfce etc.) which do not require D-Bus? An optimal answer would best give a comprising list or alternatively confirm that today ...
1
vote
0answers
161 views

Guide how to configure D-Bus safely?

Recently I have tried to improve the safety/security of my system by using Linux Security Modules LSM like (apparmor, grsecurity or NSA Selinux). In my case apparmor. Trying to limit untrusted ...
2
votes
1answer
294 views

How to talk to geoclue through its dbus interface?

I'm trying to better understand what geoclue does, and how to gain information from it. From my understanding, it can be accessed through it's dbus interface to find geographic information about the ...
2
votes
2answers
2k views

Why can't I run Gnome apps over remote SSH session?

Logging into a remote host using ssh -X me@host, I successfully run gnome-terminal -e "tail -F /var/log/file" &. When I log off and then try the same thing the next day, I get this: Failed to ...
2
votes
1answer
4k views

How to start dbus with a fixed address?

The issue concerns the same thing which is described here and here, but I don't see a clear solution there. I mean I have the same error: Failed to connect to socket /tmp/dbus-CwQMg2RxWx: Connection ...
2
votes
2answers
726 views

Allow Rygel to talk to NetworkManager over DBUS?

I'm trying to run Rygel, a UPNP media server, on a headless Fedora 20 system. I installed Rygel, and created a dedicated user and systemd unit for it. Rygel starts but it is not listening on the port ...
1
vote
0answers
107 views

Discover windows in current KDE activity with d-bus

I want a hotkey to start a new konsole session, new chrome tab etc. I can just bind a global hotkey to a KDE command to do it. For example, here's a script that starts a new Konsole session: ...
11
votes
1answer
323 views

Why do I need dbus?

I recently removed dbus from my system (along with consolekit and polkit). I didn't notice any change (I was running it as system daemon and per-user from .xinitrc). However, many people claim that ...
2
votes
1answer
716 views

How to purge dbus configuration?

I get some various errors at boot from dbus in my logs: Rejected send message, 2 matched rules; type="method_call" ... I've been running this Debian sid system (systemd init) for years, so I ...
16
votes
3answers
863 views

Documentation: Architecture of Linux Session

I'm looking for a good overview documentation describing the the stack of daemons and services involved in a modern Linux session. Although having read various documentation about dbus, and systemd ...
6
votes
1answer
4k views

dbus-launch terminated abnormally with the following error: No protocol specified

After a recent upgrade in my Arch Linux x64 system, I keep getting this warning message after installing or removing packages with pacman. (gconftool-2:5207): GConf-WARNING **: Client failed to ...
1
vote
1answer
1k views

Understanding /var/log/messages entries

192.168.25.1 = router 192.168.10.1 = gateway/modem 192.168.25.144 = this pc (which is 'linuxpc' running fedora 17) What happened during these log entry events below? Specifically what do the last ...
3
votes
1answer
1k views

What's the right way to shutdown Arch Linux through dbus interface?

I'm running openbox with Arch Linux, and looks like the old console kit interface has been long gone, %> dbus-send --system --print-reply --dest=org.freedesktop.ConsoleKit ...
1
vote
0answers
143 views

dbus problem with caja when using chocolate-doom on Linux Mint 14

I'm running Linux Mint 14 (Nadia) and I'm having a problem with chocolate-doom. When I run it, it changes the screen resolution but for some reason upsets caja (the file manager) like so (from ...
1
vote
0answers
100 views

How gconfd-2 and dconf-service are started in Gnome3 or other gnome-based desktop environments?

I want to know, at what moment and by what means the gnome2 and gnome3 configuration daemons, gconfd-2 and dconf-service are started? Examples of the possible means: init scripts Xsession.d scripts ...
3
votes
1answer
961 views

How dbus calculates machine id?

How DBus calculates machine id? (/etc/machine-id, /var/lib/dbus/machine-id). Which way is more correct to determine it?
3
votes
1answer
619 views

How to create a daemon which would be listening to dbus and fire script on message

I want to create a daemon, which would fire up a shell script in the background every time I unlock the screen on my ubuntu. I managed to create such script according to answer to related question: ...
0
votes
3answers
314 views

List of partition labels vs devices using dbus/udisks in bash

I have a problem where using dbus and udisks seems to be the best approach. So I invented a problem: create a table of labels and devices for each partition "installed" ala: "" /dev/sda1 ...
7
votes
3answers
4k views

Trouble with dbus and systemd/user

I have systemd set up so that using systemctl start user@me will start my user services as I expect, but my dbus one just won't go (which I need for PulseAudio). Is there some way I can check dbus or ...