Ubuntu 22 最近更新后,google浏览器忽然不能启动了。

如题
Ubuntu 22 最近更新后,google浏览器忽然不能启动了。
有人遇到同样的问题吗,解决了吗


sudo google-chrome --no-sandbox 
[sudo] fight 的密码: 
[9424:9447:0715/102445.106046:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[9424:9447:0715/102445.106145:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[9424:9447:0715/102445.106196:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[9424:9447:0715/102445.106212:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
[9424:9447:0715/102445.116481:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[9424:9447:0715/102445.116512:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[9424:9447:0715/102445.136490:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[9424:9447:0715/102445.136505:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
[9461:9461:0715/102445.191231:ERROR:angle_platform_impl.cc(43)] Display.cpp:1023 (initialize): ANGLE Display::initialize error 12289: Could not open the default X display.
ERR: Display.cpp:1023 (initialize): ANGLE Display::initialize error 12289: Could not open the default X display.
[9461:9461:0715/102445.191348:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Could not open the default X display.
[9461:9461:0715/102445.191451:ERROR:gl_display.cc(790)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
Authorization required, but no authorization protocol specified
[9461:9461:0715/102445.191710:ERROR:angle_platform_impl.cc(43)] Display.cpp:1023 (initialize): ANGLE Display::initialize error 12289: Could not open the default X display.
ERR: Display.cpp:1023 (initialize): ANGLE Display::initialize error 12289: Could not open the default X display.
[9461:9461:0715/102445.191765:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Could not open the default X display.
[9461:9461:0715/102445.191813:ERROR:gl_display.cc(790)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[9461:9461:0715/102445.191845:ERROR:gl_display.cc(824)] Initialization of all EGL display types failed.
[9461:9461:0715/102445.191879:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[9424:9424:0715/102445.197355:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: unknown error type: 
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
[9461:9461:0715/102445.226601:ERROR:angle_platform_impl.cc(43)] Display.cpp:1023 (initialize): ANGLE Display::initialize error 12289: Could not open the default X display.
ERR: Display.cpp:1023 (initialize): ANGLE Display::initialize error 12289: Could not open the default X display.
[9461:9461:0715/102445.226723:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Could not open the default X display.
[9461:9461:0715/102445.226761:ERROR:gl_display.cc(790)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
Authorization required, but no authorization protocol specified
[9461:9461:0715/102445.226957:ERROR:angle_platform_impl.cc(43)] Display.cpp:1023 (initialize): ANGLE Display::initialize error 12289: Could not open the default X display.
ERR: Display.cpp:1023 (initialize): ANGLE Display::initialize error 12289: Could not open the default X display.
[9461:9461:0715/102445.227009:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Could not open the default X display.
[9461:9461:0715/102445.227046:ERROR:gl_display.cc(790)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[9461:9461:0715/102445.227083:ERROR:gl_display.cc(824)] Initialization of all EGL display types failed.
[9461:9461:0715/102445.227123:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[9461:9461:0715/102445.228829:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
[9573:9573:0715/102445.319330:ERROR:angle_platform_impl.cc(43)] DisplayVkXcb.cpp:59 (initialize): xcb_connect() failed, error 1
ERR: DisplayVkXcb.cpp:59 (initialize): xcb_connect() failed, error 1
[9573:9573:0715/102445.319499:ERROR:angle_platform_impl.cc(43)] Display.cpp:1023 (initialize): ANGLE Display::initialize error 12289: Not initialized.
ERR: Display.cpp:1023 (initialize): ANGLE Display::initialize error 12289: Not initialized.
[9573:9573:0715/102445.319582:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Not initialized.
[9573:9573:0715/102445.319656:ERROR:gl_display.cc(790)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[9573:9573:0715/102445.319736:ERROR:gl_display.cc(824)] Initialization of all EGL display types failed.
[9573:9573:0715/102445.319811:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
[9573:9573:0715/102445.347631:ERROR:angle_platform_impl.cc(43)] DisplayVkXcb.cpp:59 (initialize): xcb_connect() failed, error 1
ERR: DisplayVkXcb.cpp:59 (initialize): xcb_connect() failed, error 1
[9573:9573:0715/102445.347728:ERROR:angle_platform_impl.cc(43)] Display.cpp:1023 (initialize): ANGLE Display::initialize error 12289: Not initialized.
ERR: Display.cpp:1023 (initialize): ANGLE Display::initialize error 12289: Not initialized.
[9573:9573:0715/102445.347824:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Not initialized.
[9573:9573:0715/102445.347925:ERROR:gl_display.cc(790)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[9573:9573:0715/102445.347990:ERROR:gl_display.cc(824)] Initialization of all EGL display types failed.
[9573:9573:0715/102445.348054:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[9573:9573:0715/102445.349127:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
[9603:9609:0715/102445.359686:ERROR:x11_software_bitmap_presenter.cc(142)] XGetWindowAttributes failed for window 52428803
[9462:9478:0715/102445.527838:ERROR:ssl_client_socket_impl.cc(978)] handshake failed; returned -1, SSL error code 1, net_error -200

这是新的提示,似乎和显示有关系

如果在 Ubuntu 22 更新后 Google Chrome 无法启动,可能是由于某些系统更新引起的兼容性问题。以下是一些可能的解决方法:

  1. 清除缓存和配置:打开终端,运行以下命令来清除 Chrome 的缓存和配置文件,并重新启动 Chrome。
rm -rf ~/.cache/google-chrome/
rm -rf ~/.config/google-chrome/
google-chrome
  1. 重新安装 Chrome:如果清除缓存和配置文件后 Chrome 仍无法启动,尝试重新安装 Chrome。
sudo apt remove google-chrome-stable
sudo apt autoremove
sudo rm -rf /etc/apt/sources.list.d/google-chrome.list*
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
google-chrome

上述步骤中,首先通过 apt 命令卸载 Chrome,然后删除已有的 Chrome 源文件,接下来从 Google 官网下载最新版 Chrome 安装包,并使用 dpkg 命令安装 Chrome。

  1. 检查依赖关系:使用以下命令检查 Chrome 的依赖关系,并尝试安装或更新可能缺失的依赖项。
sudo apt-get install -f
  1. 查看错误日志:打开终端,并运行以下命令查看 Chrome 的错误日志,了解具体的错误信息。
google-chrome 2> error.log

然后使用文本编辑器打开 error.log 文件,查看其中的错误信息,根据错误信息进行进一步的问题解决。

如果以上方法仍无法解决问题,请提供更多错误信息或终端输出,以便更准确地帮助你解决问题。同时,你也可以查阅 Ubuntu 社区或 Google Chrome 社区的相关主题,看看是否有其他用户遇到相同的问题并找到了解决方案。