Questions tagged [dbus]

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

Questions concerning D-BUS programming and/or errors caused by the dBus system it's messages and queries.

363 questions
30
votes
7 answers

GDBus.Error when trying to enable second screen

I connected an external screen to my laptop, but my desktop didn't automagically extend to it, as it used to do about a year ago (older version of Ubuntu). I went to the display settings. The screen was listed there (correct resolution, brand name,…
user77500
18
votes
1 answer

D-Bus : Where to get started?

Many every day actions in Ubuntu can be done easily from terminal using dbus. The main advantage is it can be done exactly the GUI does, using a one liner, such as change brightness, copy file, etc. For example, to decrease brightness standard…
totti
  • 6,818
  • 4
  • 39
  • 48
13
votes
1 answer

glib.GError: No D-BUS daemon running

When trying to run meld on Ubuntu Desktop 13.04, I get the following error: $ meld (meld:1509): GConf-WARNING **: Client failed to connect to the D-BUS daemon: Failed to connect to socket /tmp/dbus-EQeHnPP7h5: Connection refused Traceback (most…
chronospoon
  • 582
  • 1
  • 3
  • 9
9
votes
1 answer

How to blacklist a D-Bus service?

How can an unprivileged user prevent a D-Bus service from launching? For example, /usr/share/dbus-1/services/org.bluez.obex.service is started by the session bus. There doesn't seem to be a way to "blacklist" it. It is the session bus that my…
Nathan Osman
  • 32,155
5
votes
2 answers

How to find what executable provides a dbus service?

I'm having problems with kdeconnect on Lubuntu and the only error I see when I execute the daemon with --replace is the inablility to launch kuiserver: Couldn't start kuiserver from org.kde.kuiserver.service:…
int_ua
  • 8,574
4
votes
0 answers

What dbus command to use to reload keyboard layout configuration?

I have changed the keyboard layout settings in a configuration file. What dbus command should I use to reload keyboard layout configuration?
Te Ri
  • 998
2
votes
1 answer

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 the desktop whenever an authentication attempt was…
hildred
  • 842
2
votes
0 answers

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 Failed to get bus connection:…
N0rbert
  • 99,918
2
votes
1 answer

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 not many examples of such usecases in the net. I am…
1
vote
1 answer

Single process with multiple dbus services

I am trying understand dbus IPC, please help me on this. If we need to communicate through dbus, the process needs to get the system/session bus and then request a name for service and then register its objects/interfaces. if my understanding is…
G-One
  • 21
  • 3
1
vote
1 answer

Failed to connect to bus

So I have been trying to fix this for a couple of days. I found some solutions but they result in another problem: Launcher helper exited with unknown exit code 1. Every time I do something involving the dbus service. It starts giving the same…
S222em
  • 11
1
vote
1 answer

Not able to compile dbus-ping-pong

I have downloaded files from http://cgit.collabora.com/git/user/alban/dbus-ping-pong.git/tree/ I am trying to compile it using the command gcc pkg-config --libs --cflags dbus-1 dbus-glib-1-2 glib-2.0 -o dbus-ping-pong dbus-ping-pong.c However, I…
Mahipal
  • 11
  • 3
1
vote
0 answers

There always is a dbus error at startup

Does anyone know what it is? I hope that I can get rid off it.
JulianLai
  • 1,572
1
vote
1 answer

Accidentally removed system dbus fixing

So I accidentally did something very dumb today, running sudo apt-get remove dbus instead of running sudo apt-get remove python-dbus. This led to my dpkg being broken and me getting a 'failed to start session' error when I try to log in. Going to…
Itaque
  • 11
0
votes
1 answer

Applications are not opening in normal user session

Applications such as thunderbird, firefox, scheduled task are not starting in normal user session unless i have to open terminal and login as a root, after that i have to type thunderbird, then thunderbird will open. After opening from root it…
1
2