GTK+ 应用程序显示警告 "Couldn' not connect to access bus"
Issue
-
SSH 到 RHEL 7 及更高版本的机器,并运行 GTK+ 应用程序(如:
gedit
)。此时会显示类似如下的消息:** (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 转发
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.