解決Ubuntu14.04安裝Chrome瀏覽器打不開的問題

一、安裝Chrome瀏覽器 node

wget http://www.linuxidc.com/files/repo/google-chrome.list -P /etc/apt/sources.list.d/ wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add - apt-get update
apt-get install google-chrome-stable

二、啓動Chrome瀏覽器linux

google-chrome

這時會報錯:chrome

[31560:31560:0207/085601.085852:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
google-chrome --no-sandbox

仍會報錯:ubuntu

root@node00:~# [0207/085735.495265:ERROR:nacl_helper_linux.cc(310)] NaCl helper process running without a sandbox!
Most likely you need to configure your SUID sandbox correctlyvim

 

 whereis google-chrome

google-chrome: /usr/bin/X11/google-chrome /usr/share/man/man1/google-chrome.1.gz瀏覽器

 vim /usr/bin/X11/google-chrome

將 exec -a "$0" "$HERE/chrome" "$@"  改成google

exec -a "$0" "$HERE/chrome" "$@" --user-data-dir --no-sandboxspa

之後就能夠在ubuntu系統中正常打開Chrome了。code

相關文章
相關標籤/搜索