繁体   English   中英

Windows 上来自 Ubuntu 的 Firefox X11 无法正常工作

[英]Firefox X11 from Ubuntu on Windows not working

我正在尝试通过来自 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应该可以正常工作

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

52 版本正常工作。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM