Questions tagged [dbus]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

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

I was trying to get Audex running inside 16.04 LTS Docker container 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 ...
0
votes
0answers
11 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: ...
0
votes
0answers
27 views

Glib.MainLoop.quit() doesnt stop the loop

I'm using the following code: from gi.repository import GLib as glib import dbus from dbus.mainloop.glib import DBusGMainLoop import sys def print_notification(bus, message): keys = ["app_name", "...
0
votes
0answers
19 views

Python script to monitor notifications and return True if there is a notification

Im working on a project which requires another .py file to run when there is a notification. Is there a way to monitor notifications and return a True value if there is one?
0
votes
0answers
30 views

D-bus doesn't work with Spotify-client if a different cache folder is specified

I may use 2 Spotify instances (--mu flag) to redirect audio on different cards / rooms on my Ubuntu Desktop 16.04. But an issue raised as soon as I opened the first instance. If you use --mu argument, ...
0
votes
0answers
34 views

D-Bus >= 1.6 required

I am trying to make Bluez work for Kubuntu, and after reading some threads, it seems this command is supposed to make it all work: sudo apt install libdbus-1-dev libudev-dev libical-dev libreadline-...
0
votes
0answers
20 views

Is it normal I have no .dbus folder in any of personal folders, in Ubuntu 19.10?

fighting with a (firefox:17653): LIBDBUSMENU-GTK-CRITICAL **: 21:52:24.565: dbusmenu_menuitem_property_set_shortcut: assertion 'gtk_accelerator_valid(key, modifier)' failed error message in Firefox ...
0
votes
0answers
14 views

How do I get progress bars in the dock to work across X11 and Dbus socket forwarding?

I'm trying to get the teatime Snap working on my system, which uses a home directory that isn't /home/$USER, which Snap doesn't support. So, I'm running the Snap inside a Docker container, and giving ...
0
votes
0answers
26 views

No system.config file

I've been having problems with the d-bus permissions and I believe is because I don't have a the /etc/dbus-1/system.config file. I'm using Ubuntu 19.10. How can I get this file? and why is it not ...
0
votes
0answers
55 views

All desktop icons disappeared

I had a problem with Chromium startup taking very long, so I followed the link provided here and removed dbus-user-session. Everything was fine, even after a reboot, except it did not solve the ...
1
vote
1answer
121 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 ...
0
votes
1answer
78 views

Is systemd-timesyncd.service accessible via a dbus api?

I have to read the status of systemd-timesyncd.service whether to see whetther it has synchronized with the ntp . The System clock synchronized flag is not helpful since it does not show appropriate ...
0
votes
0answers
46 views

ubuntu 18 rlogin or rsh very slow

I am upgrading from ubuntu 16 to 18 and porting a load of infrastructure that depends on rsh (it's a private network so security is not an issue). We use nfs for file sharing, nis for passwords, hosts ...
2
votes
1answer
222 views

Invoking GNOME “Show Applications” from command line

I'm trying to configure my touch-pad gestures in Ubuntu 19.10 and xdotools doesn't work properly when I switch between different keyboards layouts. I've found in this post how to launch Activities ...
0
votes
0answers
334 views

lightdm not able to authenticate: org.freedesktop.DBus.Error.AccessDenied

After upgrading from Ubuntu 16.04 to 18.04 I can't login using the lightdm Interface: I tried the suggestions here (check permissions and reinstall/restart lightdm) but no change. These are the ...
0
votes
0answers
91 views

sudo -u <current_user> -H gsettings set org.gnome.desktop.background picture-uri file:///path/to/file

I'm using Ubuntu 18.04. The above command (and other gsetting command when used with sudo -u <user_name> -H) is/are showing a weird behavior.. (I'm expecting it to set the gsetting of the ...
0
votes
0answers
53 views

Trouble with handling sudo

I have two scripts that needs to be executed in chain. (First script calls the second script). The problem is that the first script needs sudo to function as expected, and the second script needs to ...
2
votes
3answers
425 views

How to debug black screen after logging in with NVidia drivers that strangely fixes itself at random times?

I'd like to describe my Nvidia woes of the past few days here in hopes someone can help me diagnose a problem with the Nvidia drivers. background TL;DR I started having this issue on Ubuntu 17, ...
0
votes
1answer
156 views

How to make dbus commands persistent. GNOME

while studying/ Understanding GNOME, I have come across below two commands over the web. dbus-send --session --type=method_call --dest=org.gnome.Shell /org/gnome/Shell org.gnome.Shell.Eval string:'...
0
votes
0answers
223 views

Failed to connect to socket /tmp/dbus-4WFnI2GBSE: Connection refused

After upgrade from Lubuntu 14.04 to 16.04, I faced some errors and problems, one of them is an error message dialog after every login after restart: Failed to connect to socket /tmp/dbus-4WFnI2GBSE: ...
2
votes
1answer
201 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 ...
1
vote
0answers
493 views

Bluez on DBus: Connection is not allowed / Name already in use

I am writing a BLE library for JavaScript and after I restarted my computer Bluez stopped working When I write bluetoothd -n I get this: ➜ bluetoothd -n bluetoothd[2728]: Bluetooth daemon 5.48 D-...
2
votes
0answers
133 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 ...
0
votes
0answers
318 views

DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.sssd.infopipe was not provided by any .service files

My goal is to retrieve some additional user information for the currently active user. service sssd status tells me SSSD is up and running. Now I want to connect via DBUS. According to: https://...
1
vote
1answer
52 views

terminal that logs to dbus

do you know of a terminal that logs file accesses and such to dbus? I am asking because I have been using the xterm more than any file explorers but xterm does not send anything to dbus. This has ...
0
votes
0answers
2k views

GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SettingsDaemon was not provided by any .service files

I'm on Ubuntu 16.04.6 with FVWM window manager. As far as I remember, I had gnome desktop (maybe I removed gnome) and I installed FVWM. I connect a display screen to my laptop VGA port. But the screen ...
0
votes
1answer
66 views

Why doesn't gdbus output work when invoked from ~/.profile?

If I open a terminal and run the below script, it works fine. The values from the gdbus call get written to the lockScreenTest.txt file. The values are true when the screen is locked and the values ...
0
votes
1answer
662 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 File "/usr/bin/software-properties-gtk", ...
0
votes
0answers
338 views

Installing QtWebengineView on Ubuntu: “A suitable version of dbus could not be found. QtWebEngine will not be built.”

I am trying to install QtWebEngineView on ubuntu with the proprietary codecs. Running: ➜ qtwebengine git:(c3c37b4e) ✗ /usr/local/Qt-5.12.1/bin/qmake -r -Wall -- -proprietary-codecs -ffmpeg ...
1
vote
0answers
283 views

Avahi service fails with enable-dbus=no

Xubuntu 18.04.2 LTS x86_64 In an attempt to remove "ghost printers" from showing up in print dialogs, I added "enable-dbus=no" to my /etc/avahi/avahi-daemon.conf. I think it gives the proper behavior ...
2
votes
1answer
300 views

Interfacing DBus using gjs

I am extremely new to gjs and I want to interface dbus. I want to create a service and listen to it. A small example or guide would be useful. Thank You
0
votes
1answer
581 views

KDE is broken after upgrade to 19.04: org.kde.solid.udisks2: Error getting props

After upgrade to 19.04 KDE doesn't start, just blank screen freeze. When starting KDevelop from lxde it freezes also and slowly floods the following in terminal: org.kde.solid.udisks2: Error getting ...
4
votes
0answers
165 views

Unable to open software-properties-gtk on 18.04

When I type software-properties-gtk (with sudo -H or not) on terminal, I get the following error: Traceback (most recent call last): File "/usr/bin/software-properties-gtk", line 100, in <module&...
0
votes
1answer
399 views

“Could not start D-Bus. Could you call qdbus?” error. Any ides how to fix it?

I installed CodeBlocks from terminal with command sudo apt-get install codeblocks on Kubuntu 14.04 and then file manager started lag. I restarted computer and had error "Could not start d-bus. Can you ...
0
votes
1answer
830 views

dbus-1.0/dbus/dbus.h:29:10: fatal error: 'dbus/dbus-arch-deps.h' file not found

I am using dbus in my programme, but when i include #include <dbus-1.0/dbus/dbus.h> I am getting error : dbus-1.0/dbus/dbus.h:29:10: fatal error: 'dbus/dbus-arch-deps.h' file not found In the ...
1
vote
2answers
1k views

no module named '_dbus_bindings'

I'm unable to open "software and updates" from the GUI or the terminal of my ubuntu 16.04 system sudo software-properties-gtk sudo: unable to resolve host dna-ws: Connection timed out [sudo] ...
0
votes
1answer
496 views

Ubuntu 18.10 has experienced an internal error

I am getting this popup after each startup, even on newly installed Ubuntu. I have tried reinstalling over 5 times, and the same error just keeps popping up. I am trying to figure out what it is, so ...
0
votes
1answer
901 views

What are possible causes of appmenu-gtk failing to connect to D-Bus?

The warning is ** (/usr/lib/firefox/firefox:1671): WARNING **: 22:14:54.614: Unable to connect to dbus: Could not connect: Permission denied I tried using strace but can't find any related file ...
1
vote
1answer
92 views

Some journalctl ERRORS

I've been having some error shown on journalctl -b -p err command output, could you guys shed some light on how I could solve them and explain the reason behind them? For those who can't load the ...
0
votes
0answers
240 views

'sudo telinit 5' and “Could not sync environment to dbus”

I'm currently running Kubuntu on my laptop (no Windows partition) and trying to learn how to use linux. At the attempt to kill the GUI, 'sudo telinit 3' managed to switch it off. However, when I ...
0
votes
1answer
264 views

KDevelop crashed (closed unexpectedly)

I am try to run application "KDevelop" but return with the following error: root@11:~$ kdevelop Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)...
2
votes
0answers
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? ...
1
vote
0answers
278 views

There always is a dbus error at startup

Does anyone know what it is? I hope that I can get rid off it.
0
votes
0answers
89 views

Startup command with variable settings

I have Xubuntu 16.04 for 2 days. I am trying to set an entry in Session and Startup>Application Autostart that will set several bash variables and execute a command. I have managed how to do it ...
2
votes
1answer
340 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 ...
0
votes
1answer
127 views

Menubars missing in libreoffice when used in unshare session in 18.04

When using libreoffice inside unshare -m session, the menubar is missing. In the console output I see these warnings: ** (soffice:9193): CRITICAL **: 10:29:29.171: void g_lo_menu_insert_section(...
4
votes
1answer
1k views

Ubuntu 18.04 systems dying a week after install with dbus errors

I've been banging my head against google for a day now and I'm no closer to a solution so I'm hoping someone out there can help out. I'm installing 18.04 via fai and then doing some system config ...
0
votes
1answer
2k views

How do I disable Dunst and go back to notify-osd?

I installed i3, which recommends dunst, but I'm not using i3 at the moment, and the dunst notifications don't really fit with Unity. I'd rather not uninstall dunst totally, since I might want to start ...
1
vote
1answer
2k views

Updated 16.04 server to 18.04.1, now I see weird errors about missing files, failing to resolve dns, failing to connect to bus

Ok, so this is an upgrade from 16.04.1 LTS to 18.04.1 LTS, the server is headless. After the upgrade is finished, and a reboot is completed, the following happens: Trying to upgrade packages only ...
1
vote
1answer
556 views

how to use gdbus to set an IP address

I'm researching how to change IP addresses (and DHCP settings) from a workstation app I'm writing which is why I need/want to use dbus for this purpose. It's complicated! So I'm trying to learn by ...

1
2 3 4 5 6