gpt4 book ai didi

google-chrome - 谷歌浏览器无法在 xvfb 中运行,因为缺少扩展 "RANDR"

转载 作者:行者123 更新时间:2023-12-04 04:41:39 32 4
gpt4 key购买 nike

我尝试在 xvfb 显示器上运行 Google Chrome,但 google 显示有关 RANDR 扩展的错误。问题是我将 RANDR 添加到 xvfb 并加载它。
所以我的步骤是:

  • 使用命令运行 xvfb 服务器:
    Xvfb :1 -screen 0 1280x1024x24 +extension RANDR
  • 此命令为我提供成功加载的 RAND 模块的输出
    Initializing built-in extension Generic Event Extension

    Initializing built-in extension SHAPE

    Initializing built-in extension MIT-SHM

    Initializing built-in extension XInputExtension

    Initializing built-in extension XTEST

    Initializing built-in extension BIG-REQUESTS

    Initializing built-in extension SYNC

    Initializing built-in extension XKEYBOARD

    Initializing built-in extension XC-MISC

    Initializing built-in extension SECURITY

    Initializing built-in extension XINERAMA

    Initializing built-in extension XFIXES

    Initializing built-in extension RENDER

    Initializing built-in extension RANDR

    Initializing built-in extension COMPOSITE

    Initializing built-in extension DAMAGE

    Initializing built-in extension MIT-SCREEN-SAVER

    Initializing built-in extension DOUBLE-BUFFER

    Initializing built-in extension RECORD

    Initializing built-in extension DPMS

    Initializing built-in extension X-Resource

    Initializing built-in extension XVideo

    Initializing built-in extension XVideo-MotionCompensation

    [dix] Could not init font path element /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list!
  • 在其他终端运行:
    export DISPLAY=:1 && google-chrome
  • Chrome 输出到终端:
    Xlib: extension "RANDR" missing on display ":1".

    Created new window in existing browser session.
  • Google Chrome 在我的 x11 session 中启动
  • 最佳答案

    尝试

    env DISPLAY=:1 google-chrome

    关于google-chrome - 谷歌浏览器无法在 xvfb 中运行,因为缺少扩展 "RANDR",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15829633/

    32 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com