You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

WSL2/Ubuntu 22.04.2 LTS在多Windows用户账户下无法启动Google Chrome的问题求助

WSL2/Ubuntu 22.04.2 LTS在多Windows用户账户下无法启动Google Chrome的问题求助

大家好,我遇到了一个WSL2跨Windows用户账户使用的问题,想请教一下各位大佬:

背景情况

  • 我原本在Windows的用户A账户里安装了WSL2 + Ubuntu 22.04.2 LTS,之前一切正常,甚至能在Ubuntu里启动Google Chrome。
  • 后来想在同一台电脑的用户B账户里也使用WSL2,于是在用户B的「启用或关闭Windows功能」里手动开启了WSL(明明用户A那边已经开了,但用户B这边必须手动操作才行),接着从微软商店安装了Ubuntu 22.04.2 LTS,用户B的Ubuntu能正常加载运行。

出现的问题

  1. 用户A的Ubuntu启动Google Chrome失败
    回到用户A的Ubuntu环境后,原本能正常运行的google-chrome现在完全启动不了,报错信息如下:

[244:272:0427/083045.657761:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[0427/083047.041860:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0427/083047.044229:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[0427/083047.044260:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)
[0427/083047.046110:ERROR:directory_reader_posix.cc(42)] opendir /home/scbn/.config/google-chrome/Crash Reports/attachments/4ac62951-ad00-4bc5-9929-e535694323de: No such file or directory (2)
Trace/breakpoint trap

  1. 用户B的Ubuntu启动Google Chrome失败
    在用户B的Ubuntu环境里尝试启动google-chrome,报错内容和用户A的不一样,但开头的错误是相同的:

[4047:4073:0427/044727.454515:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[4047:4047:0427/044727.456461:ERROR:ozone_platform_x11.cc(239)] Missing X server or $DISPLAY
[4047:4047:0427/044727.456495:ERROR:env.cc(255)] The platform failed to initialize. Exiting.

补充系统信息

  • 执行wsl -l -v的输出:
NAME            STATE           VERSION
* Ubuntu-22.04    Running         2
  • 还有个奇怪的细节:用户B执行wsl --version会报错:

Invalid command line option: --version

  • 但用户A执行wsl --version能正常输出:
WSL version: 1.2.5.0
Kernel version: 5.15.90.1
WSLg version: 1.0.51
MSRDC version: 1.2.3770
Direct3D version: 1.608.2-61064218
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22621.1555

有没有大佬能帮忙分析下问题出在哪,或者给点解决思路呀?

备注:内容来源于stack exchange,提问作者neubert

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.22 16:13:10