GTK+ applications show warning "Couldn't connect to accessibility bus"
Issue
-
SSH into a RHEL 7 and later machine and run a GTK+ application (eg:
gedit
). A message like this is shown:** (gedit:23301): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-4jKXtHuxPN: Connection refused
Environment
- Red Hat Enterprise Linux (RHEL) 7, 8, 9
- ssh
- X11 forwarding
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.