GNOME Bugzilla – Bug 707084
Commit 7ec6f416a192b7ff86d4b90fe7f405de41165342, causes dbus errors and non-working accessibility accross user boundaries.
Last modified: 2013-09-02 18:03:38 UTC
With commit 7ec6f416a192b7ff86d4b90fe7f405de41165342,, it is not possible to use accessibility properly accross user boundaries, for example using sudo with gedit. Various errors are seen on the console and in xsession errors. Some references: Ubuntu bug: https://bugs.launchpad.net/bugs/1217757 Orca mailing list bug report/discussion thread: https://mail.gnome.org/archives/orca-list/2013-August/msg00149.html Reverting the commit works around the problem.
Running graphical apps under sudo will never work properly.
Yeah, sudo doesn't normally preserve environment variables (although it can be configured to do so, and I'm not sure what Ubuntu does by default). However, I'd inadvertently caused libatspi never to query X when looking for the accessibility bus address. Commit 7dff5c in at-spi2-core should fix this.