小编fan*_*yna的帖子

Firefox 启动失败:由于身份验证错误,X11 连接被拒绝

我从 Linux 桌面登录到 Linux 服务器 (RHEL)。登录时没有任何错误消息,但我无法启动 Firefox,并看到以下错误消息:

[myname@myserver ~]$ firefox &
[1] 8806
[myname@myserver ~]$ X11 connection rejected because of wrong authentication.
X11 connection rejected because of wrong authentication.
The application 'firefox' lost its connection to the display localhost:11.0;
most likely the X server was shut down or you killed/destroyed
the application.
Run Code Online (Sandbox Code Playgroud)

我尝试运行以下命令

[myname@myserver ~]$ xhost +
Run Code Online (Sandbox Code Playgroud)

但收到以下错误消息:

X11 connection rejected because of wrong authentication.
X connection to localhost:11.0 broken (explicit kill or server shutdown).
Run Code Online (Sandbox Code Playgroud)

我也尝试过跑步

[myname@myserver ~]$ echo $DISPLAY …
Run Code Online (Sandbox Code Playgroud)

linux firefox x11

5
推荐指数
2
解决办法
7834
查看次数

标签 统计

firefox ×1

linux ×1

x11 ×1