The tag has no usage guidance.

learn more… | top users | synonyms

3
votes
1answer
5k 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 ...
4
votes
3answers
3k views

How do I shut down a system through a ConsoleKit DBus message as user?

I found the following command line to shut down a Debian/GNU Linux system dbus-send \ --system \ --dest=org.freedesktop.ConsoleKit \ --type=method_call \ --print-reply \ ...
0
votes
1answer
2k 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
1answer
34 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 ...
5
votes
1answer
867 views

How do I prevent ssh remote login from breaking dbus?

I'm running openSUSE 11.3 on my workstation at work under KDE, I don't have root access to it. The default shell has been set to tcsh. When I am logged in at my workstation and log in remotely from my ...
1
vote
0answers
29 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
64 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. ...
2
votes
1answer
509 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 ...
3
votes
1answer
96 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
1answer
50 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
89 views

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

I need to implement a function that monitor the screen lock/unlock. I referred the following article: Run script on screen lock/unlock My python script code works fine in the Ubuntu 12.04, but ...
2
votes
3answers
4k 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
0answers
97 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
187 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 ...
4
votes
2answers
359 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(): ...
0
votes
1answer
20 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 ...
10
votes
1answer
489 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 ...
2
votes
1answer
146 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 ...
2
votes
1answer
104 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
203 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 ...
0
votes
0answers
176 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 ...
2
votes
0answers
101 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 | ...
2
votes
0answers
72 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 ...
2
votes
1answer
200 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: ...
-1
votes
1answer
244 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
351 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
96 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
28 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
174 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
78 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
179 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
261 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
83 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
71 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
83 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
412 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
284 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 ~ $ ...
31
votes
3answers
13k 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
169 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
59 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
169 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
412 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
171 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 ...
5
votes
1answer
4k 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
36 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
2
votes
2answers
909 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 ...
3
votes
3answers
4k 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
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. ...
2
votes
1answer
142 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
142 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 ...