Questions tagged [dbus]
D-BUS is a messaging system used by applications to talk to each other.
365
questions
1
vote
0
answers
2k
views
GDBus.Error:org.freedesktop.DBus.Error.Interactive.Authorization.Required
My OS is Ubuntu Mate 20.04.2 LTS. I also installed LXDE as second Desktop Environment. I encountered errors on both DEs:
MATE: Shutdown button occasionally disappears from the Compact Menu on mate-...
3
votes
1
answer
661
views
Firefox 94 when ran from a crontab claims "is already running, but is not responding."
I understand that there are or may be similar questions on here, but this one does not pertain to firejail nor does Firefox have any delays when starting.
OS Info:
Xubuntu 20.04
DISTRIB_DESCRIPTION=&...
1
vote
0
answers
184
views
I can not open any of evolution's windows when I start evolution
When I start evolution on blank or new window it appears as an icon in the top right. Clicking on it shows windows are there but they will not open. I have used apt to remove evolution and reinstall ...
3
votes
1
answer
12k
views
GNOME Network Displays Errors
I get the following errors when run GNOME Network Displays. Any help troubleshooting would be appreciated. I am running a fresh install Ubuntu 20.04.
Gtk-Message: 18:20:32.421: Failed to load module &...
0
votes
0
answers
1k
views
Anbox: Failed to connect to dbus ubuntu 21.04
I just installed anbox on ubuntu 21.04 using snap:
snap install --devmode --beta anbox
However if I try to run anbox, for example:
/snap/bin/anbox launch --package=org.anbox.appmgr --component=org....
2
votes
0
answers
2k
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 ...
0
votes
0
answers
793
views
Launch System DBus Daemon
I want to use an application that requires a system-wide dbus daemon to function. I'm doing this in Gitpod (the default Docker image is currently based on Ubuntu 20.04).
Dbus and dbus-daemon are ...
0
votes
1
answer
968
views
Install Package on Previous Version of Ubuntu
I need to install a package (in this case it is dbus-broker) on Ubuntu 20.04 (focal). Unfortunately apt install dbus-broker does not do the trick because the package is currently only available for ...
2
votes
0
answers
444
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 '...
1
vote
0
answers
209
views
Systemd dbus interfaces for suspend and resume notification
Could anyone let me know the interfaces that can be used to get notification of "resume" once device is resumed from suspend state.
I did have a look at the systemd documentation of logind, ...
1
vote
0
answers
2k
views
How to run a TPM simulator on a Ubuntu machine (maybe incorrect DBus)?
I have a Ubuntu set up in WSL2. Then I tried instructions at https://wiki.ubuntu.com/TPM/Testing and tried to set up TPM simulator on Ubuntu. But for some reason I seem to end up in a situation I can'...
4
votes
2
answers
969
views
Kdenlive snap version doesn't render in Ubuntu 18.04
When I'm trying to render a project, it just stuck on 'Waiting' and render never starts.
Console log contains next error:
starting kdenlive_render process using: "/snap/kdenlive/26/usr/bin/...
0
votes
1
answer
760
views
21.04: Cannot launch Audacious from command line: "D-Bus error: Cannot autolaunch D-Bus without X11 $DISPLAY"
Launching the Audacious audio player from the command line yields the following error:
$ audacious
ERROR dbus-server.cc:928 [dbus_server_init]: D-Bus error: Cannot autolaunch D-Bus without X11 $...
0
votes
0
answers
426
views
Accesing UPower battery percentage via DBus in gjs: Access Denied
I am trying to make an extension that displays a notification when the battery level reaches certain value. To get the percentage level I am trying to implement this method, but as I don't have a ...
1
vote
0
answers
470
views
Capturing sleep/hibernate/wakeup events on Linux desktop and laptop environments
Explored 2 options to capture these power events, but unfortunately none of them worked as expected.
DBus works on Desktop but these events also need to be captured on Laptops and Linux environments ...
0
votes
0
answers
701
views
** socat[8592] E connect(5, AF=1 "\0/tmp/dbus-6LCOz2lgUY", 23): Connection refused**
I am a BEGINNER with Ubuntu (Linux).
I am trying to create an independant network namespace (that I downloaded here : https://github.com/Lekensteyn/netns) in order to capture Internet traffic without ...
-1
votes
1
answer
3k
views
ModuleNotFoundError: No module named '_dbus_bindings'
When I try to open the "Software & update" program, it doesn't launch and when i check the log, it give me this error. ModuleNotFoundError: No module named '_dbus_bindings'.
Then I try ...
0
votes
1
answer
2k
views
daemon.cpp:61@run org.freedesktop.DBus.Error.Disconnected Failed to flush bus on opening (connection reset by peer)
I'm trying to run Anbox on my jetson nano arm64. Below you can see how I have installed anbox :
Step 1: We need /dev/binder and /dev/ashmem devices for android support.
Because the kernel is 4.9.140, ...
4
votes
3
answers
1k
views
How to disable auto suspend temporary (reset idle time)
In Ubuntu 20.04.2 LTS(default GNOME desktop). I enable auto suspend on Ubuntu GNOME desktop, but, If only running my program, I want to disable auto suspend.
My program running in a second, and loop ...
1
vote
1
answer
114
views
Signal when PulseAudio load/unload modules
There is a way to know if PulseAudio has loaded/unloaded a module? Like a signal from PulseAudio?
I know how to query for modules:
pactl list sinks
but I need some sort of IPC signal mechanism from ...
0
votes
0
answers
96
views
How to trigger a Wi-Fi access point signal information update
I've found many sources which describe how to get the signal strength of the current (connected to) or other Wi-Fi access points, but in most of them, the tools just show the last available ...
9
votes
3
answers
47k
views
How to run systemctl command inside docker container?
I would like to run a docker container which will have the ability to run systemctl commands on its host.
Following this question I didn't find a solution that would work for me.
I have no hard limits ...
1
vote
0
answers
93
views
Xubuntu 20.04 LTS, Softwate and Updates not opening
Whenever I click on Software & Updates, it does nothing. When I tried from the terminal it gives me the following output. Please help, I shifted from windows 7 to Xubuntu. I don't know anything ...
1
vote
1
answer
23k
views
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 ...
0
votes
1
answer
166
views
After upgrading to 20.10, the Jetbrains Space desktop app crashes on startup due to a snap Dbus error
Yesterday, I signed up for the Jetbrains Space beta and started setting up projects with the desktop app, which worked normally.
Today, I upgraded to Ubuntu 20.10. Now, whenever I try to launch the ...
4
votes
2
answers
3k
views
qpaeq no module named dbus
NOTE: This question is not relevant to the dbus problem I am experiencing as described below.
I tried to run qpaeq after installing. It asks for dbus. Other posts say to install python-dbus. It ...
3
votes
1
answer
2k
views
Gnome 3 standard brightness control with external monitor
Gnome's built-in brightness control works well for my laptop monitor, but I would like it to also change the brightness on my external monitor. I've figured out how to use xrandr to control the ...
3
votes
1
answer
3k
views
Ubuntu 18.04: Maximum number of clients reached - related to dbus-daemon
From time to time I get this message, I cant start application when this happens.
I've tried those links:
Can't start applications due to “Maximum number of clients reached” error and
How can I ...
4
votes
1
answer
2k
views
Adjust volume via dbus
I am using an application (VMWare Workstation) which hijacks the media keys on my keyboard, so I want to use another input device (Elgato Stream Deck) to send generic media commands like 'volume up' ...
0
votes
2
answers
159
views
Not able to update Ubuntu 18.04 [duplicate]
I have Ubuntu 18.04 and python 3.7.
uname -a
Linux username-laptop 4.15.0-109-generic #110-Ubuntu SMP Tue Jun 23 02:39:32 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
When I run sudo apt-get update I get ...
1
vote
0
answers
350
views
How do I troubleshoot DBUS/MPRIS (media keys)? Not working after unity install on ubuntu 20.04
Volume control (up/down) worked fine. It behaves fine.
Media keys (next/previous) isn't working.
It seems like the actual keyboard shortcuts are registered, the media application don't receive ...
0
votes
1
answer
537
views
Using dbus-send in Cron [duplicate]
I want to setup a cron job to lock my session every day at three PM. When I enter dbus-send --type=method_call --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock in a ...
3
votes
0
answers
348
views
Help to grab Gnome Settings Media Keys focus by "force"
I'm trying to create an application that listens for events sent by Gnome's gsd-media-keys,what I have already achieved, but other apps like VLC and Chrome are "stealing" my app’s focus when ...
5
votes
2
answers
1k
views
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....
0
votes
1
answer
3k
views
dbus-daemon is crashing
After Lubuntu 18.04 installation, the system didn't boot, so I started root shell in recovery mode. I've observed that all systemd commands (e.g. systemctl list-sockets) are very slow or time out. My ...
2
votes
0
answers
662
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'...
1
vote
1
answer
3k
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 ...
2
votes
1
answer
687
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
0
answers
949
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-...
1
vote
0
answers
1k
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 ...
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
...
0
votes
1
answer
1k
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 ...
4
votes
1
answer
3k
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
0
answers
2k
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
0
answers
301
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
0
answers
81
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
3
answers
2k
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, ...
1
vote
1
answer
539
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:'...
2
votes
1
answer
954
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
0
answers
3k
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-...