Questions tagged [dbus]

D-BUS is a messaging system used by applications to talk to each other.

Filter by
Sorted by
Tagged with
2 votes
1 answer
1k views

Can't open software-properties-gtk in Ubuntu 20.04

I can't open software-properties-gtk in Ubuntu 20.04. This the error I get: software-properties-gtk Traceback (most recent call last): File "/usr/lib/python3/dist-packages/dbus/bus.py", ...
CatsRule's user avatar
2 votes
1 answer
2k views

NetworkManager via D-Bus: Add a network bridge

I'm trying to use the D-Bus interface of NetworkManager to add and enable a network bridge connection. Basically I'm trying to mimic this command: nmcli connection add type bridge ifname br0 stp no ...
codepearlex's user avatar
2 votes
1 answer
949 views

What happens in the OS when multimedia keys are pressed?

What commands are invoked when I press my media keys (play / pause, next, previous)? I had a look at simulate media keys in the terminal, and my requirement is the same, except I cannot use the ...
Peeyush Kushwaha's user avatar
2 votes
1 answer
1k views

How to pass different argument to gdbus like unit16, uint32

By default arguments sent to gdbus are taken to be of type Int32. I need to send arguments of mixed type like uint16, uint32 .. How to frame the arguments for gdbus for same Unfortunately there are ...
DarkKnight's user avatar
2 votes
1 answer
713 views

How to run a script every time a song is about to be over?

My intention is to notify-send a message if an unrated song is about to come to end. I am using Rhythmbox with the MPRIS plugin and I found following scripts : #Get position gdbus call \ --session \ ...
Johannes Lemonde's user avatar
2 votes
1 answer
1k views

Why Do I Have So Many Dbus Processes Running?

According to my system monitor there are 24 dbus processes running, the owner is lp. Need I be alarmed? Thanks!
Joe's user avatar
  • 51
2 votes
1 answer
668 views

Ubuntu Touch Development: DBus connection via apparmor-template=unconfined?

I am trying to send DBus messages via Ubuntu Touch C++ application. With configuring default template (no error with unconfined) for Apparmor file my application is getting following error as reply: ...
tecsurf's user avatar
  • 21
2 votes
1 answer
2k views

USSD fails due to Missing interface org.freedesktop.ModemManager1.Modem.Modem3gpp.Ussd in 14.04

after upgrade to 14.04 every time i use USSD i get a dbus-send error due to missing interface in the object path /org/freedesktop/ModemManager1/Modem/0 Dose any one know how i can add this missing ...
byaruhaf's user avatar
  • 443
2 votes
1 answer
2k views

How to set up DBus query to get play state of VLC?

I'm experiencing this problem where VLC continues to inhibit the power management daemon even after playback has ended (even though the option in the VLC preferences is labeled "Inhibit the power ...
JB0x2D1's user avatar
  • 454
2 votes
1 answer
824 views

fakeroot and package building

We have developed a network pub/sub communication suite. It is in use across a number of different applications and domains, most notably on our payloads aboard the International Space Station (ISS). ...
Jim Wright's user avatar
2 votes
1 answer
11k views

My WD 1TB external HDD is not mounting

I am getting this error when I click on devices list: DBus error org.gtk.Private.RemoteVolumeMonitor.Failed: An operation is already pending and when I remove the device, it says: Error mounting: ...
Maulik Shah's user avatar
2 votes
1 answer
512 views

Gksudo and DBus

I've created some disabled accounts for the sole purpose of customizing Docky in those accounts. Each account has a set of Docky Items that represents a tool set. This should give you an idea of ...
bambuntu's user avatar
  • 991
2 votes
3 answers
2k views

Error during login

I'm using Ubuntu 11.10 and I'm new to Linux family. I have a problem with logging in to it. After I enter password and press enter it says: Could not connect to session bus: //bin/dbus-launch ...
Alberto's user avatar
  • 35
2 votes
2 answers
3k views

DBus error while boot after upgrade to 11.10

After upgrading to oneiric, Ubuntu appears to be unable to start dbus correctly, which virtually renders half the system unusable. The startup error seems to happen rather early in the bootstages - ...
hiobs's user avatar
  • 275
2 votes
1 answer
3k views

dbus cannot start manually?

when i check ssh status: sudo systemctl status sshd it returned: ● ssh.service - OpenBSD Secure Shell server Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled) ...
G.Y.C's user avatar
  • 29
2 votes
0 answers
1k views

Where should dbus session-local.conf be created?

I need to allow root user to connect to session busses of other users. What I did was add <allow user="root"/> under <policy context="default"> and it worked like a ...
rose's user avatar
  • 21
2 votes
0 answers
439 views

g-dbus error on start-up. Bluetooth services not working

I am running Ubuntu 20.04.2 LTS on a machine constructed by Entroware as a dedicated Linux laptop. This morning when I started up I was greeted by a message that Bluetooth will not work - the '...
John-old guy's user avatar
2 votes
0 answers
660 views

Problems with GNOME, Dbus or Polkit in Ubuntu 20.04LTS

Bug description: After upgraded my Ubuntu from 19.10 version to 20.04LTS, I cannot install, update or remove any software inside "Ubuntu Software". I also realized that my credential window doesn'...
Tsjabrantes's user avatar
2 votes
1 answer
680 views

How to correctly run graphical application in schroot with Qt and D-Bus?

I was trying to get Audex running inside 16.04 LTS schroot on the 20.04 LTS host. The below method works normally for Gtk-based applications, I have tested it. In current case I did the following: ...
N0rbert's user avatar
  • 99.8k
2 votes
0 answers
510 views

Got error dbus: Failed to determine seats of user "1000": Too many open files - why and how to fix?

I'm running Ubuntu 16.04.6 LTS with all updates installed. Currently I see strange behavior: I can't start new GTK applications and Qt ones. For GTK-based applications I get: $ atril file.pdf ...
N0rbert's user avatar
  • 99.8k
2 votes
0 answers
1k views

Dbus-daemon crash after boot

Not always, but often, I find this bug on startup, but with nothing that crashes. For now I'm ignoring it, because I repeat, it does not scratch anything on the screen, but is there a solution? ...
Teo7's user avatar
  • 79
2 votes
0 answers
1k views

18.04 upgrade dbus fail starting X server

I upgraded my desktop from 16.04.5 to 18.04.1 and find after booting that the start up freezes. In recovery, looking at the journalctl output I see stan-desktop dbus-daemon[3424]: [session uid=0 pid=...
stan812's user avatar
  • 21
2 votes
0 answers
3k views

What is this daemon process using so much CPU?

As per the screengrab, this is puzzling, to me at least. I haven't noticed this running before, just the past few days. This is a workstation Ubuntu 18.04 current updates as of this morning. ...
Dithers's user avatar
  • 46
2 votes
0 answers
847 views

How to get Dbus Session with root user privileges

I am using libdbus library and have written code in C language in which I am trying to fetch the screen lock and unlock events using "com.canonical.Unity.Session","IsLocked" entry. The compilation is ...
param's user avatar
  • 31
2 votes
0 answers
1k views

Steam, Torchlight 2 game doesnt start

My system: CPU: AMD FX 8320 RAM: 16 GB DDR3 MOBO: Asrock 970 pro 3 GPU: RX 580 8GB OS: Ubuntu 17.10 / Kernel: 4.13.0-18 Graphics Driver: Mesa 17.3.0-rc4 DRM 3.18.0 LLVM 5.0.0 using padoka ppa Before ...
papajo's user avatar
  • 2,977
2 votes
0 answers
57 views

View full text of long notification bubble [duplicate]

I use npm tool of laravel called mix, to transform JS ES6 to ES5 When there is error during transformation the npm tool popups system message (Like when I connect to Wifi etc..) Now the message is ...
Nati V's user avatar
  • 131
2 votes
1 answer
773 views

How do I get gvfs-info to output file metadata when called from cron?

I'm having a weird problem and was hoping maybe someone out there might be able to give me some insight. Kind of at a loss. On Linux Mint using Nemo which has a tendency to crash every once in a ...
Shaav's user avatar
  • 31
2 votes
0 answers
958 views

buggy start up on repaired upgrade from 14.04 to ubuntu 16.04 LTS

I upgraded my Ubuntu 14.04 LTS to Xenial 16.04 using the software updater, but unfortunately the upgrade froze when it was installing what appeared to be some fonts. As it was not responding for a ...
Pitt's user avatar
  • 143
2 votes
0 answers
851 views

Hundreds of "NameOwnerChanged" Dbus signals using CPU

My laptop just ran some updates, and when prompted to restart, I did. Now my CPU is maxing out, and my battery barely lasts 20 minutes. The processes that are going crazy are: PID USER PR NI ...
Jason O'Neil's user avatar
  • 1,888
2 votes
0 answers
1k views

(Gnome, libappindicator) AppIndicator disappears when indicator-application-service is started

I'm using this example: https://gist.github.com/davidboy/1045233 on Ubuntu 14.04 [Gnome Classic]. The system tray icon is shown. But it disappears when the indicator-application-service starts. After ...
olya's user avatar
  • 21
2 votes
0 answers
349 views

Software Center doesn't start - could not initiate dbus

Ubuntu Software Center is lost from my Ubuntu & it's not showing in launcher. When i run sudo software-center in my terminal, the output is something like this: 2016-01-29 17:46:53,262 - ...
Kazi Riad's user avatar
2 votes
1 answer
2k views

How to configure a systemd service that uses D-Bus?

I wrote a script that sends notifications. The script calls notify-send to do this, and notify-send requires a D-Bus environment variable to work: DBUS_SESSION_BUS_ADDRESS. When I run my script from ...
Chris Mounce's user avatar
2 votes
0 answers
496 views

15.04 upgrade issue upstart [closed]

ah I feel like an idiot! So I decided to upgrade my distro (like a dummy because I am hosting something for a school assignment) on an openVZ server. Now I can't get systemd working. I get the ...
Jason Hardy's user avatar
2 votes
0 answers
230 views

Ubuntu-sdk Kits, mkspec and dbus errors

This is a double part issue : When I launch the ubuntu sdk I get the following message in the General Messages pane: Traceback (most recent call last): File "/usr/share/qtcreator/ubuntu/scripts/...
Maël's user avatar
  • 21
2 votes
0 answers
756 views

Massive log file and 100% CPU usage for 'upstart'

I have a fresh install of Ubuntu 14.10, and I installed some programs like MATLAB, Chromium, Evolution and other fairly harmless stuff. However, I have run into some trouble recently. The file /home/...
Sanchises's user avatar
  • 121
2 votes
0 answers
185 views

why does DBUS violate its own DTD?

I was looking at DBUS system.conf. The XML includes a DOCTYPE statement that references the following DTD: http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd However, when I tried ...
David's user avatar
  • 121
2 votes
2 answers
6k views

nm-applet gives errors

nm-applet always gives me a hard time when connecting to wireless. I often have to restart it and make several attempts till it connects to a network. Sometimes even restarting the computer doesn't ...
Reza's user avatar
  • 1,235
2 votes
0 answers
3k views

Error while connecting A2DP device, Bluetooth BlueZ Dbus Exception Ubuntu12.04LTS [closed]

I'm unable to connect a A2DP Bluetooth Speaker in Ubuntu 12.04LTS. IBM Thinkpad R52. Broadcom Integrated Bluetooth IV. bluez packages installed and up-to-date pulsaudio installed and up-to-date $ ...
John's user avatar
  • 21
2 votes
1 answer
456 views

how can you use pam-dbus without using gnome

I have been playing around with pam-dbus on a old slow box that is too slow for gnome/kde so I have been using ratpoision as the window manager. I was able to configure it to show a notification on ...
hildred's user avatar
  • 842
2 votes
0 answers
200 views

How can I create an appmenu/DBusmenu using python? [duplicate]

Possible Duplicate: How to add support for the global menu to a python non-gtk, non-qt app? I want to add support for the indicator-appmenu to an application that is not written in one of the ...
krystoph's user avatar
  • 586
2 votes
1 answer
3k views

No module named '_dbus_bindings' -16.04

I've been trying to update python. And every since I can't seem to access "Updates&Software" I try to run software-properties-gtk this error shows: Traceback (most recent call last): ...
Michael L's user avatar
2 votes
2 answers
2k views

Syntax for sending notification hint using gdbus or python's dbus module

I'm trying to update a previous notification (which displays the screen's brightness after being changed using a progress bar) with gdbus, as notify-send does not support updating. Previously I use ...
PyGeek03's user avatar
  • 168
1 vote
2 answers
4k views

Whats is user 102 which is accessing dbus-daemon

User 102 is not listed , output of cat /etc/passwd root:x:0:0:root:/root:/bin/bash daemon:x:1:1:daemon:/usr/sbin:/bin/sh bin:x:2:2:bin:/bin:/bin/sh sys:x:3:3:sys:/dev:/bin/sh sync:x:4:65534:sync:/...
user73331's user avatar
  • 901
1 vote
3 answers
4k views

System tray icons all disappeared

I'm running Ubuntu 20.04.5. Recently all of my system tray application icons (e.g. Dropbox, Discord) disappeared, and restarting did not help. When I run Dropbox or Discord from terminal, their ...
rayna's user avatar
  • 113
1 vote
1 answer
470 views

Ubuntu Cleaner for Ubuntu 16.04 LTS not working Only Icon Appear

I have recently installed Ubuntu cleaner following http://www.omgubuntu.co.uk/2016/12/free-space-ubuntu-cleaner-janitor-app. The problem I am facing now is that the icon appears, but each time I ...
Nemesis85's user avatar
1 vote
2 answers
5k views

apt-get upgrade fails with "adduser: The user `messagebus' already exists. Exiting."

Got this today when trying to upgrade the software on my Ubuntu 12.04 Server: # apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, ...
ke.'s user avatar
  • 167
1 vote
1 answer
10k views

"Failed to activate service 'org.freedesktop.Avahi'" how to get rid of this message? [duplicate]

I disabled the avahi-daemon according to the method set out here, namely editing the /etc/init/avahi-daemon.conf file to: start on (never and filesystem and started dbus) stop on ...
fpghost's user avatar
  • 1,659
1 vote
1 answer
289 views

Cannot receive UPower signals

I am newbie in dbus, so please be patient with me. I have a following code: http://pastebin.com/8zpM7Pwb. It is some sample I found and changed to suit my case. General idea is to 'trap' dbus ...
R G's user avatar
  • 41
1 vote
3 answers
2k views

In 12.04 LTS, I get "No DBus" errors when running things as root

While attempting to run gEdit as root from a terminal window (was trying to do some tweaking on my HOSTS and FSTAB files), I get a message saying "No DBus connection available" and get booted back to ...
EvilSupahFly's user avatar
1 vote
2 answers
2k views

DBus nested dictionary in python

I have dictionary like this {key: { key1: '', key2: [{ key3: '' }] }} I have tried a{sv}, but I got error: **to message with signature a{sv}: <type 'exceptions.TypeError'>:...
user avatar

1 2 3
4
5
8