Skip to content

Instantly share code, notes, and snippets.

@jeffcogswell
Last active April 23, 2023 01:10
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • 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
@jbranso
Copy link

jbranso commented Aug 9, 2017

So this fixed part of my problem...but this feels like a hack. What does this actually do?

@jeffcogswell
Copy link
Author

@jbranso Sorry I didn't see your comment until now after all this time... It's definitely a hack. I found this on several forums and different web pages, and just put it in this gist for a quick reference. I don't actually know what it does.

@pedro-w
Copy link

pedro-w commented Apr 4, 2018

You can also install the package at-spi2-core [source]

The error seems to be something to do with Gnome, and this fix works at least for Debian derivatives that I know of (Raspberry Pi, Ubuntu, NixOS) It may work for others.

@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

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