Ubuntu运行Chrome出现“Google Chrome can not be run as root”的解决方法
Ubuntu运行Chrome出现“Google Chrome can not be run as root”的解决方法
Ubuntu运行Chrome出现“Google Chrome can not be run as root”的解决方法
Ubuntu中root用不能打开Chrome浏览器解决方法:
找到启动文件 :/opt/google/chrome/google-chrome
编辑该文件,修改最后一行:
Java代码
exec -a "$0" "$HERE/chrome" "$@"
www.2cto.com
to
Java代码
exec -a "$0" "$HERE/chrome" "$@" --user-data-dir $HOME
评论暂时关闭