The tag has no usage guidance.

learn more… | top users | synonyms (1)

0
votes
1answer
42 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
45 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 ...
4
votes
1answer
33 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 ...
0
votes
0answers
46 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
24 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
40 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 ...
2
votes
1answer
545 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
50 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
44 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
46 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
89 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
139 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
1answer
83 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
105 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
434 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
404 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
340 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 ...
7
votes
3answers
1k 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
108 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
41 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
191 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
455 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
171 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
245 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
125 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
377 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 ...
10
votes
1answer
1k 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
560 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
714 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
30 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
257 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
120 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
260 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
1answer
114 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
96 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
124 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
505 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
633 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
219 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
62 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
234 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
582 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
50 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. ...
2
votes
1answer
651 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
5k 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
170 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
205 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
257 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
373 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 ...