Google-chrome 在 Ubuntu 12.04 上崩潰

Google-chrome 在 Ubuntu 12.04 上崩潰

我在 Xvfb 會話中運行 chrome。
我使用的是 Google Chrome 40.0.2214.91 版本。
我正在使用以下命令來運行它:

Xvfb $DISPLAY -screen 0 1920x1080x24 2> /tmp/xvfb.log &
google-chrome --disk-cache-dir=null -start-maximized $1 --enable-logging --v=1 2> /tmp/chrome.log &

我在 chrome 日誌中收到以下錯誤:

Xlib:  extension "RANDR" missing on display ":17".
Xlib:  extension "RANDR" missing on display ":17".
ATTENTION: default value of option force_s3tc_enable overridden by environment.
[25037:25037:0311/075906:ERROR:sandbox_linux.cc(301)] InitializeSandbox() called with multiple threads in process gpu-process
[25037:25037:0311/075950:ERROR:x11_util.cc(82)] X IO error received (X server probably went away)

Xvfb 日誌未顯示任何錯誤。

答案1

我也遇到類似的問題。這些命令列標誌可能會有所幫助:

  • --disable-gpu-sandbox
  • --disable-gpu

假設您不關心 chrome 使用 GPU。

相關內容