[Bug 957295] New: Starting 'emacs' results in weird messages 'Couldn't register with accessibility bus...'
http://bugzilla.suse.com/show_bug.cgi?id=957295 Bug ID: 957295 Summary: Starting 'emacs' results in weird messages 'Couldn't register with accessibility bus...' Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.1 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: hare@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- When I'm starting up emacs in a terminal (eg in xterm) I'll get the very annoying message: ** (emacs:6471): 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. According to google it could be fixed by setting NO_AT_BRIDGE=1 in /etc/enviroment or .profile. Which might be, but still raises the question why I have to do it manually... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=957295
http://bugzilla.suse.com/show_bug.cgi?id=957295#c1
--- Comment #1 from Hannes Reinecke
http://bugzilla.suse.com/show_bug.cgi?id=957295
Chenzi Cao
http://bugzilla.suse.com/show_bug.cgi?id=957295
http://bugzilla.suse.com/show_bug.cgi?id=957295#c2
Dr. Werner Fink
http://bugzilla.suse.com/show_bug.cgi?id=957295
http://bugzilla.suse.com/show_bug.cgi?id=957295#c3
Dr. Werner Fink
http://bugzilla.suse.com/show_bug.cgi?id=957295
http://bugzilla.suse.com/show_bug.cgi?id=957295#c4
--- Comment #4 from Hannes Reinecke
http://bugzilla.suse.com/show_bug.cgi?id=957295
http://bugzilla.suse.com/show_bug.cgi?id=957295#c5
Marcus Meissner
http://bugzilla.suse.com/show_bug.cgi?id=957295
http://bugzilla.suse.com/show_bug.cgi?id=957295#c6
Frederic Crozat
http://bugzilla.suse.com/show_bug.cgi?id=957295
http://bugzilla.suse.com/show_bug.cgi?id=957295#c7
--- Comment #7 from Hannes Reinecke
http://bugzilla.suse.com/show_bug.cgi?id=957295
http://bugzilla.suse.com/show_bug.cgi?id=957295#c8
--- Comment #8 from Frederic Crozat
No. The message is displayed when starting 'emacs' in an xterm.
which graphical environment are you using ? I'm not getting this on leap using GNOME3 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=957295
http://bugzilla.suse.com/show_bug.cgi?id=957295#c9
--- Comment #9 from Hannes Reinecke
http://bugzilla.suse.com/show_bug.cgi?id=957295
http://bugzilla.suse.com/show_bug.cgi?id=957295#c10
--- Comment #10 from Dr. Werner Fink
http://bugzilla.suse.com/show_bug.cgi?id=957295
http://bugzilla.suse.com/show_bug.cgi?id=957295#c11
--- Comment #11 from Frederic Crozat
http://bugzilla.suse.com/show_bug.cgi?id=957295
http://bugzilla.suse.com/show_bug.cgi?id=957295#c12
--- Comment #12 from Dr. Werner Fink
http://bugzilla.suse.com/show_bug.cgi?id=957295
http://bugzilla.suse.com/show_bug.cgi?id=957295#c13
--- Comment #13 from Frederic Crozat
I'd like to suggest to extend the file /etc/profile.d/at-spi2.sh
suse/werner> rpm -qf /etc/profile.d/at-spi2.sh at-spi2-atk-common-2.16.0-2.2.x86_64
as well as o add a csh variant for this. That is not only to test for
# currently there is no proper accessibility forwarding through SSH # so abort loading the module in an SSH session to avoid warnings if test -n "$SSH_TTY" -a -n "$SSH_CLIENT" ; then export NO_AT_BRIDGE=1 fi
but also to a GNOME variable
It would be better to check $(gsettings get org.gnome.desktop.interface toolkit-accessibility) value. If it is set to false (the default), then NO_AT_BRIDGE should be set too. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=957295
http://bugzilla.suse.com/show_bug.cgi?id=957295#c14
--- Comment #14 from Dr. Werner Fink
http://bugzilla.suse.com/show_bug.cgi?id=957295
http://bugzilla.suse.com/show_bug.cgi?id=957295#c15
Frederic Crozat
OK ... then we have for bourne shell (not only bash)
cat /etc/profile.d/at-spi2.sh _gnome_toolkit=$(gsettings get org.gnome.desktop.interface toolkit-accessibility) if test -z "$_gnome_toolkit" -o "$_gnome_toolkit" = false ; then NO_AT_BRIDGE=1 export NO_AT_BRIDGE fi unset _gnome_toolkit
and fot tcsh
cat /etc/profile.d/at-spi2.csh set _gnome_toolkit=`gsettings get org.gnome.desktop.interface toolkit-accessibility` if ( ${%_gnome_toolkit} == 0 || $_gnome_toolkit == false ) setenv NO_AT_BRIDGE 1 unset _gnome_toolkit
We should probably still test for test -n "$SSH_TTY" -a -n "$SSH_CLIENT"
btw: Why does this the API of the GNOME libraries do not on their own?
Maybe Mike Gorse has an idea.. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=957295
http://bugzilla.suse.com/show_bug.cgi?id=957295#c16
Michael Gorse
http://bugzilla.suse.com/show_bug.cgi?id=957295
http://bugzilla.suse.com/show_bug.cgi?id=957295#c17
Hannes Reinecke
http://bugzilla.suse.com/show_bug.cgi?id=957295
http://bugzilla.suse.com/show_bug.cgi?id=957295#c18
Tomáš Chvátal
participants (1)
-
bugzilla_noreply@novell.com