2017-07-05 17 views
4

當我試圖在亞馬遜機器上運行Chrome瀏覽器能夠在頭部較小模式中使用它,但它失敗了,當我想要啓動它:無效節點的信道信息運行Chrome無頭

[[email protected]*** dev]# google-chrome --version 
Google Chrome 59.0.3071.115 


[[email protected]*** ec2-user]# google-chrome --headless --disable-gpu --remote-debugging-port=9222 https://www.chromestatus.com 
[0705/030438.715171:WARNING:audio_manager.cc(293)] Multiple instances of AudioManager detected 
[0705/030438.715202:WARNING:audio_manager.cc(254)] Multiple instances of AudioManager detected 
Trace/breakpoint trap 
[[email protected]*** ec2-user]# [0100/000000.732486:ERROR:broker_posix.cc(41)] Invalid node channel message 

有人已經成功在ec2上運行chrome了?

+0

這與斷點陷阱和無效節點的信道信息相同的輸出發生對我來說也是如此。當你運行'strace google-chrome ...'時,你會得到什麼? – Drakes

回答

10

安裝不穩定版本

yum install google-chrome-unstable 

安裝字體

yum install \ 
ipa-gothic-fonts \ 
xorg-x11-fonts-100dpi \ 
xorg-x11-fonts-75dpi \ 
xorg-x11-utils \ 
xorg-x11-fonts-cyrillic \ 
xorg-x11-fonts-Type1 \ 
xorg-x11-fonts-misc -y 
+0

缺少的字體似乎解決了我的錯誤消息。 Thx – JoG

+0

是...字體。我有一個CentOS最小安裝,不包括字體。 – John