Forum › Forums › General › Tips and Tricks › Remove AT-SPI: Error message
- This topic has 7 replies, 5 voices, and was last updated May 14-7:18 am by m4r35n357.
-
AuthorPosts
-
September 15, 2023 at 1:52 pm #116878
blur13Memberat-spi-bus-launcher enables accessibility technologies such as screen readers. If you dont need it:
sudo apt remove at-spi2-core
this will cause all sorts of applications to generate the following error:
AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
This can safely be ignored, but it can be a bit annoying. To disable:
in .bashrc add
export NO_AT_BRIDGE=1This has been documented and suggested before, however, this will not suppress the warnings when running commands as sudo. So, for example, the error will be generated whenever the standard update command “sudo apt update && sudo apt dist-upgrade -V” is run and desktop-menu is triggered by apt hook.
In order to remove the warnings for the sudo user, edit (as root/sudo)
/etc/sudoers.d/antixersat the very end, add:
Defaults env_keep += "NO_AT_BRIDGE"Problem solved.
September 15, 2023 at 2:02 pm #116880PPC
MemberThanks for this new tip. By the way are there any noticeable saving in resource usage, removing this package? Or you do it just to have a leaner system?
P.
September 15, 2023 at 3:00 pm #116888
blur13MemberHere is a fairly recent issue
http://forums.freebsd.org/threads/at-spi-bus-launcher-eats-all-the-memory.89570/
The more things you’ve got running, the more things could potentially go wrong. There is no reason to enable a daemon that runs 24/7 if it doesnt have a purpose.
In this case, the “savings” in terms of RAM are not noticeable, maybe less than 3 MiB. Not sure about CPU usage.
But if you start trimming services you dont need (CUPS, ssh, bluetooth, pipewire, connman, ntpd) it adds up.
In this case I think the annoyance came from disabling a service and it spams the logs with error messages that aren’t really errors.
May 13, 2026 at 5:54 am #204346m4r35n357
MemberI have been attempting to disable that “service” again recently. The solution:
export NO_AT_BRIDGE=1used to work, but not any more. Those lovely folks at freedesktop/ibm/redhat/gnome have restored the “functionality” of this “service” so it gets started by pretty much anything that uses gtk. I have come up with something that works:
sudo chmod -x /usr/libexec/at-spi*but of course the warnings come back. IMO they are now a feature.
I expect my changes to be reverted if gtk or whatever gets updated, so I will eventually have to consider making them immutable too, which might cause even more problems at update time.
Bah!!!!
May 13, 2026 at 7:35 am #204359olsztyn
Memberhave come up with something that works:
sudo chmod -x /usr/libexec/at-spi*
but of course the warnings come back. IMO they are now a feature.
I have been running with removed at-spi-core for a long time with no adverse effect except those messages.
However I will try your solution, for which I will need to reinstall it.
This at-spi gtk virus has been annoying but I learned to ignore those messages over time.Live antiX Boot Options (Previously posted by Xecure):
http://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_ParametersMay 13, 2026 at 8:17 am #204364m4r35n357
MemberI noticed the trojan had reappeared on my Raspberry Pis – I let my guard down (what is it they say about “eternal vigilance”?). One of them only has FVWM/Slim so it stood out among a mere 35 processes (after a fresh login). I only made the latest change today so hoping there are no unforeseen consequences!
May 13, 2026 at 8:30 pm #204424anti-apXos
MemberNO_AT_BRIDGE=1 does not prevent at-spi2-launcher/registry from running, it just prevents GTK apps from spitting out the error message if at-spi2-core isn’t installed.
Note that on antix you can purge at-spi2-core without touching at-spi2-common, so that nothing else gets dragged out with it. I believe this little trick is due to the kind ministrations of anticapitalista.
"--"
May 14, 2026 at 7:18 am #204466m4r35n357
MemberOK that sounds like a better solution, thanks!
-
AuthorPosts
- You must be logged in to reply to this topic.