The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
0answers
18 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
15 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 ...
0
votes
1answer
998 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 ...
2
votes
1answer
3k 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
1answer
82 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 ...
1
vote
0answers
25 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 ~ $ ...
20
votes
3answers
8k views

A list of available DBus services

Is there such a thing as list of available DBus services? I've stumbled upon a few (like those provided by NetworkManager, Rhythmbox, Skype, HAL). I wonder if I can find a rather complete list of ...
2
votes
1answer
35 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
55 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
62 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 ...
2
votes
2answers
150 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
0answers
86 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
1answer
1k 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 ...
0
votes
1answer
26 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
1
vote
1answer
1k 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 ...
1
vote
2answers
528 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
3answers
3k views

How to restart polkitd?

My desktop PC is also used as a NIS/NFS server for a small workgroup. It runs for months without reboot. Recently I observed that when I log into a desktop session the computer becomes less ...
0
votes
0answers
503 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
317 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 ...
2
votes
1answer
101 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
61 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
0answers
107 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
135 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 ...
10
votes
3answers
3k views

Run a dbus program in crontab , how to know about the SESSION id?

I need to run some program within crontab , but how can the program know about dbus session id ? it's only available for programs launched by session managers.
0
votes
0answers
74 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
126 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
215 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 ...
0
votes
0answers
57 views

Best way to implement a system configuration driver for Linux

Is there a standard architecture for a driver that allows to read an set system configuration for an embedded Linux system? System configuration means for example hardware calibration values, revision ...
5
votes
1answer
3k 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 ...
7
votes
3answers
3k 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 ...
1
vote
0answers
80 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: ...
10
votes
1answer
243 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 ...
16
votes
3answers
709 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 ...
2
votes
1answer
486 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 ...
10
votes
1answer
1k views

X, Xorg and D-Bus: what is the difference?

In the process of learning to do certain things in GUI programming (e.g., reserving space on the screen for an application), I have to learn more about the Window Manager, usually X11 on Linux (I'm ...
1
vote
1answer
839 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 ...
15
votes
1answer
2k views

Reuse D-Bus sessions across login sessions

I access a machine through multiple login sessions. The sessions' lifetimes may or may not overlap. In my case, these login sessions are currently always over SSH, but I would prefer to handle local ...
1
vote
0answers
78 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 ...
1
vote
0answers
124 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 ...
2
votes
1answer
690 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
481 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
277 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 ...
4
votes
1answer
2k views

User systemd PulseAudio service

Not much else to this question: I would like to know what I need to create a PulseAudio systemd service to be run with systemd --user. I've tried a few different things, including various user ...
4
votes
0answers
419 views

Compiling and running Snapper for Ubuntu

I am trying to get snapper working in my Mint 14. (The version from launchpad is old and not compatible with Ubuntu 12.10. The OpenSuSe's build project failed to build it, too). So I try my luck with ...
1
vote
1answer
2k views

Failed to get bus connection: Could not connect: Connection refused

When I'm running evince file.pdf I got this error Failed to get bus connection: Could not connect: Connection refused Ubuntu 12.04 I have to reboot. Can I repair this error without reboot?
1
vote
0answers
164 views

DBUS interface to decrypt a LUKS device?

In modern DEs, like KDE or XFCE, you can mount a LUKS device after entering the password. Now I want to do this without the file manager, with two steps, Decrypt the device Mount the disk with ...
0
votes
1answer
75 views

Can a GTK applet widget be instantiated through dbus?

I just posted this: #274616: “Simple” gnome applets in Unity - stickynotes ... where I could instantiate a Gnome 2 bonobo applet in a standalone window, ... using ...
2
votes
1answer
241 views

Open kickoff via shell/script

Is there any (undocumented) way to open the KDE Kickoff menu via dbus or some similar mechanism?
3
votes
0answers
101 views

Restricting D-Bus access to the logged-in user via ConsoleKit or systemd

I need to restrict the client of a D-Bus service to only the user logged into the system locally, via ConsoleKit or systemd. How must I configure or write the D-Bus service to do so?