Google Chrome can not be run as root

Ubuntu运行Chrome出现“Google Chrome can not be run as root”的解决方法

编辑启动文件:/opt/google/chrome/google-chrome
修改最后一行:exec -a "$0" "$HERE/chrome" "$@"  
to -->
exec -a "$0" "$HERE/chrome" "$@" --user-data-dir $HOME

posted @ 2016-02-15 13:31  784040932  阅读(248)  评论(0编辑  收藏  举报