Firefox 在 WSL 上的 Ubuntu 中无法正常运行

Firefox 在 WSL 上的 Ubuntu 中无法正常运行

不确定是否应该在此论坛或 Windows 论坛中发布此内容。

我在 Windows Subsystem for Linux (WSL) 中安装了 Ubuntu。我已安装 ubuntu-desktop 并使用 VcXsrv 运行。每次我执行:

export DISPLAY=:0
export LIBGL_ALWAYS_INDIRECT=1
sudo service dbus start
sudo service x11-common start
gnome-shell --x11 -r

并且运行良好。问题是,如果我打开 Firefox,Web 浏览器会显示空白页,无法加载任何页面,如果我在搜索栏中输入内容,按下 Enter 键后内容就会消失。我在终端上看到以下内容:

[GFX1-]: No GPUs detected via PCI
[GFX1-]: glxtest: process failed (received signal 11)
[Parent 2843, IPC I/O Parent] WARNING: FileDescriptorSet destroyed with unconsumed descriptors: file /build/firefox-HSiFn6/firefox-94.0+build3/ipc/chromium/src/chrome/common/file_descriptor_set_posix.cc:19
[Parent 2843, IPC I/O Parent] WARNING: FileDescriptorSet destroyed with unconsumed descriptors: file /build/firefox-HSiFn6/firefox-94.0+build3/ipc/chromium/src/chrome/common/file_descriptor_set_posix.cc:19
Exiting due to channel error.

###!!! [Parent][MessageChannel] Error: (msgtype=0x23005B,name=PBrowser::Msg_UpdateEffects) Channel error: cannot send/recv

Exiting due to channel error.
[Parent 2843, IPC I/O Parent] WARNING: FileDescriptorSet destroyed with unconsumed descriptors: file /build/firefox-HSiFn6/firefox-94.0+build3/ipc/chromium/src/chrome/common/file_descriptor_set_posix.cc:19
[Parent 2843, IPC I/O Parent] WARNING: FileDescriptorSet destroyed with unconsumed descriptors: file /build/firefox-HSiFn6/firefox-94.0+build3/ipc/chromium/src/chrome/common/file_descriptor_set_posix.cc:19
[Parent 2843, IPC I/O Parent] WARNING: FileDescriptorSet destroyed with unconsumed descriptors: file /build/firefox-HSiFn6/firefox-94.0+build3/ipc/chromium/src/chrome/common/file_descriptor_set_posix.cc:19
[Parent 2843, IPC I/O Parent] WARNING: FileDescriptorSet destroyed with unconsumed descriptors: file /build/firefox-HSiFn6/firefox-94.0+build3/ipc/chromium/src/chrome/common/file_descriptor_set_posix.cc:19
[Parent 2843, IPC I/O Parent] WARNING: FileDescriptorSet destroyed with unconsumed descriptors: file /build/firefox-HSiFn6/firefox-94.0+build3/ipc/chromium/src/chrome/common/file_descriptor_set_posix.cc:19
Exiting due to channel error.

###!!! [Parent][MessageChannel] Error: (msgtype=0x39008C,name=PContent::Msg_FlushTabState) Channel error: cannot send/recv


###!!! [Parent][MessageChannel] Error: (msgtype=0x390148,name=PContent::Msg_DiscardBrowsingContext) Channel error: cannot send/recv

Exiting due to channel error.

###!!! [Parent][MessageChannel] Error: (msgtype=0x39008C,name=PContent::Msg_FlushTabState) Channel error: cannot send/recv


###!!! [Parent][MessageChannel] Error: (msgtype=0x390148,name=PContent::Msg_DiscardBrowsingContext) Channel error: cannot send/recv

我也尝试了另一种方法:

/mnt/c/Program\ Files/Mozilla\ Firefox/firefox.exe

这会在 Windows 上打开 Firefox,问题是,如果我想打开 .html 文件,我会得到嗯。我们找不到该网站。

任何想法?

相关内容