Skip to content

Instantly share code, notes, and snippets.

@jeffcogswell
Last active May 30, 2024 08:49
Show Gist options
  • Save jeffcogswell/62395900725acef1c0a5a608f7eb7a05 to your computer and use it in GitHub Desktop.
Save jeffcogswell/62395900725acef1c0a5a608f7eb7a05 to your computer and use it in GitHub Desktop.
Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus ...

Seeing this error in the bash shell when launching some apps, such as scite:

** (scite:5298): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

Update as per comments below.

It appears adding this library fixes the problem: at-spi2-core

e.g.

sudo apt install at-spi2-core

The description for at-spi2-core is as follows:

Description-en: Assistive Technology Service Provider Interface (dbus core)
 This package contains the core components of GNOME Accessibility.

This would make sense since the error involves accessibility.

The solution below is the old solution. My guess is that the export NO_AT_BRIDGE tells it to turn off a bridge or connection or whatever to the Assistive Technology Service. So the old fix may well be perfectly legitimate.

(OLD) Fix: Add this to your profile (.bashrc or whatever):

export NO_AT_BRIDGE=1
@hiulit
Copy link

hiulit commented Jul 16, 2018

I installed the package @pedro-w said and the error is gone.

@Nickrader
Copy link

Nickrader commented Dec 4, 2019

NO_AT_BRIDGE description below. I dare not try to summarize what it means ;)

Note that the initialization of the ATK Bridge can be delayed by setting the NO_AT_BRIDGE environment variable. If this is done, the atk_bridge_init method of the ATK Bridge will not be called when the GTK+ atk-bridge module is loaded (see https://bugzilla.gnome.org/show_bug.cgi?id=563943 and http://git.gnome.org/cgit/at-spi/tree/atk-bridge/bridge.c). This can be necessary with an application that mixes accessible toolkits (e.g., GTK+ and Gecko) and needs to make sure the accessible hierarchy is set up appropriately.

https://wiki.gnome.org/Accessibility/Documentation/GNOME2/Mechanics

@tuttle
Copy link

tuttle commented Jul 30, 2022

For me gmessage utility started to print this after upgrading my Xubuntu to 22.04 LTS. Installing at-spi2-core solved the problem.
Thanks

@TomfromBerlin
Copy link

This error message is displayed on my Raspberry Pi with the latest operating system (Debian Bullseye) while installing packages with Synaptic as package manager. Installing at-spi2-core solved the problem. If this happens in many different cases, I wonder why this package is not included by default.

@mjTree
Copy link

mjTree commented Feb 10, 2023

Thank you very much

@lindexi
Copy link

lindexi commented May 30, 2024

Thank you very much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment