Bug#918776: at-spi2-core: Warning "Couldn't register with accessibility bus:" when starting Emacs and other applications

Peter Hull peterhull90 at gmail.com
Wed Jan 9 09:10:08 GMT 2019


Package: at-spi2-core
Version: 2.22.0-6+deb9u1
Severity: normal

Dear Maintainer,

I am seeing warnings when starting Emacs:

** (emacs:5181): WARNING **: Couldn't register with accessibility bus: Did not
receive a reply. Possible causes include: the remote application did not send a
reply, the message bus security policy blocked the reply, the reply timeout
expired, or the network connection was broken.

This happens every time.

I have found other reports on the internet from a few years ago but they seem
to have been marked fixed or abandoned.

One commonly suggested solution was to put
export NO_AT_BRIDGE=1
in ~/.profile. I have successfully done this in the past but this no longer
works for me.

reportbug itself also gives the same message when started in graphical mode so
this is not emacs specific.

I ran the check-a11y/troubleshoot tool provided by Samuel Thibault. The output
is:
$ ./troubleshoot
Packages
PASS: at-spi2-core installed
PASS: libgail-common installed
PASS: libatk-adaptor installed
FAIL: qt-at-spi not installed, Qt4 applications will not be accessible
PASS: libatk-wrapper-java installed

Running environment
FAIL: at-spi-bus-launcher is not running as user peter
but another at-spi-bus-launcher is running as another user (though perhaps on
another DISPLAY)
FAIL: at-spi2-registryd is not running as user peter
but another at-spi2-registryd is running as another user (though perhaps on
another DISPLAY)
FAIL: mismatch between $DBUS_SESSION_BUS_ADDRESS (unix:path=/run/user/1000/bus)
and well-known path /home/peter/.dbus/session-
bus/54fa9f2fff40489ea826755fd35fe827-0 ()
Error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible
causes include: the remote application did not send a reply, the message bus
security policy blocked the reply, the reply timeout expired, or the network
connection was broken.
FAIL: can't get accessibility bus from session dbus
PASS: got accessibility bus unix:abstract=/tmp/dbus-
xVErH4Q4N8,guid=8078af4ac1fce2003a1079f25c34b49c from root window

Layer enabling
WARN: screen-reader-enabled is not set in gsettings, use
      gsettings set org.gnome.desktop.a11y.applications screen-reader-enabled
true
      to enable it
No such schema 'org.mate.interface'
WARN: MATE accessibility is not set in gsettings, use
      gsettings set org.mate.interface accessibility true
      to enable it
WARN: assistive technology not enabled in
/etc/java-7-openjdk/accessibility.properties, Java 7 Swing applications may not
be accessible.
WARN: default Look and Feel is not GTK in /etc/java-7-openjdk/swing.properties,
Java 7 Swing applications may not be accessible.
WARN: assistive technology not enabled in
/etc/java-8-openjdk/accessibility.properties, Java 8 Swing applications may not
be accessible.
WARN: default Look and Feel is not GTK in /etc/java-8-openjdk/swing.properties,
Java 8 Swing applications may not be accessible.

Also:
$ ps aux |grep at-spi
lightdm    649  0.0  0.2 348884  5808 ?        Sl   07:37   0:00 /usr/lib/at-
spi2-core/at-spi-bus-launcher --launch-immediately
lightdm    658  0.0  0.1  44992  3860 ?        S    07:37   0:00 /usr/bin/dbus-
daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork
--print-address 3
lightdm    664  0.0  0.2 220316  5704 ?        Sl   07:37   0:00 /usr/lib/at-
spi2-core/at-spi2-registryd --use-gnome-session
peter     6027  0.0  0.0  12784   968 pts/1    S+   09:08   0:00 grep at-spi

So the software is running (as indicated by the troubleshoot script) as user
lightdm



-- System Information:
Debian Release: 9.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-8-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages at-spi2-core depends on:
ii  libatspi2.0-0  2.22.0-6+deb9u1
ii  libc6          2.24-11+deb9u3
ii  libdbus-1-3    1.10.26-0+deb9u1
ii  libglib2.0-0   2.50.3-2
ii  libx11-6       2:1.6.4-3+deb9u1
ii  libxtst6       2:1.2.3-1

at-spi2-core recommends no packages.

at-spi2-core suggests no packages.

-- no debconf information



More information about the Pkg-a11y-devel mailing list