第一次用linux,安装chrome的时候,装上以后发现不能以root来启动chrome,大概提示如下Google Chrome can not be run as root,需要加上--usr-data-dir选项,肯定是有个地方配置chrome了,网上找了下,解决方法如下
# vi /opt/google/chrome/google-chrome
and Find line exec -a “$0″ “$HERE/chrome” “$@” and change it to following
exec -a “$0″ “$HERE/chrome” “$@” –user-data-dir ( Two Hyphens at start of options )
Save and Close File
启动chrome,应该就可用root用户启动来