chromium启动报如下错误:
[W:pyppeteer.chromium_downloader] chromium extracted to: /root/.local/share/pyppeteer/local-chromium/494755
LaunchProcess: failed to execvp:
/root/.local/share/pyppeteer/local-chromium/494755/chrome-linux/nacl_helper
[62381:62381:0612/152237.227605:ERROR:nacl_fork_delegate_linux.cc(315)] Bad NaCl helper startup ack (0 bytes)

(chrome:62378): Gtk-WARNING **: 15:22:37.231: cannot open display:

经过网上查询驱动、chromium版本、使用--no-sandbox参数、创建非root用户启动等都无效,修改headless参数为true。

标签: none

添加新评论