Chromium can not be run as root错误
2015-03-19 11:31
507 查看
centos6.5 安装Chromium后,用root用户登录后一直出现Chromium can not be run as root。
解决办法:
# cd /opt/chromium-browser/
# vi chromium-browser.sh
找到exec -a "$0" "$HERE/chromium-browser" $CHROMIUM_RHEL_FLAGS "$@"
在后面添加 --user-data-dir
修改后为:exec -a "$0" "$HERE/chromium-browser" $CHROMIUM_RHEL_FLAGS "$@" --user-data-dir
保存退出就能打开了
解决办法:
# cd /opt/chromium-browser/
# vi chromium-browser.sh
找到exec -a "$0" "$HERE/chromium-browser" $CHROMIUM_RHEL_FLAGS "$@"
在后面添加 --user-data-dir
修改后为:exec -a "$0" "$HERE/chromium-browser" $CHROMIUM_RHEL_FLAGS "$@" --user-data-dir
保存退出就能打开了
相关文章推荐
- bt5 使用chrome 错误解决Google Chrome can not be run as root.
- BackTrack上运行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运行Chrome出现“Google Chrome can not be run as root”的解决方法
- google-chrome can not be run as root
- Google Chrome can not be run as root 解决办法
- google chrome can not be run as root
- ubuntu13.10: google chrome can not be run as root
- ubuntu Google Chrome can not be run as root
- chromium can not run as root
- ubuntu google chorme can not be run as root
- root用户无法运行tor解决办法(The tor browser bundle should not be run as root )
- Ubuntu中SonarQube6.7 启动报错:can not run elasticsearch as root
- 错误:Value '0000-00-00 00:00:00' can not be represented as java.sql.Timestamp;的解决
- 错误:Value \'0000-00-00 00:00:00\' can not be represented as java.sql.Timestamp;的解决
- 编译错误you should not run configure as root (set FORCE_UNSAFE_CONFIGURE=1 in environment to bypass this
- VLC is not supposed to be run as root. 问题解决
- 错误:Value '0000-00-00 00:00:00' can not be represented as java.sql.Timestamp;的解决