Windows上Ubuntu的Firefox X11无法工作



我正试图通过Windows上Ubuntu上Bash的X11连接来运行Firefox(或任何其他浏览器(。

我使用的是VcXsrv 1.20.6.0

我通过bash终端看到的Firefox版本是:

(env) flx@pc:/etc/ssh$ firefox --version
Mozilla Firefox 74.0

当我尝试从bash启动Firefox时,我会收到以下错误:

(env) flx@pc:/etc/ssh$ firefox
Exiting due to channel error.
###!!! [Parent][MessageChannel] Error: (msgtype=0x1E0057,name=PBrowser::Msg_UpdateEffects) Channel error: cannot send/recv

(firefox:16625): LIBDBUSMENU-GLIB-WARNING **: Unable to get session bus: Error spawning command line 'dbus-launch --autolaunch=f6c6eb9e4e7543fa90e8fb64fbdd8983 --binary-syntax --close-stderr': Child process exited with code 1
[Parent 16625, Main Thread] WARNING: FileDescriptorSet destroyed with unconsumed descriptors: file /build/firefox-LE_x6q/firefox-74.0+build3/ipc/chromium/src/chrome/common/file_descriptor_set_posix.cc, line 23

我被困在这里了,你知道我该怎么做吗?

添加到@Roudcore的答案

wget https://ftp.mozilla.org/pub/firefox/releases/52.0/firefox-52.0.linux-x86_64.sdk.tar.bz2 sudo tar xjf firefox-52.0.linux-x86_64.sdk.tar.bz2 -C /opt/ sudo ln -s /opt/firefox-sdk/bin/firefox /usr/local/bin/firefox

在启动firefox之前尝试service dbus start,之后dbus-launch应该可以正常工作

作为替代方案,我建议您使用firefox52。

52版本工作正常。

最新更新