首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 操作系统 >

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

2012-09-25 
Ubuntu运行Chrome出现“Google Chrome can not be run as root” 的解决方法Ubuntu中root用不能打开Chrome浏

Ubuntu运行Chrome出现“Google Chrome can not be run as root” 的解决方法
Ubuntu中root用不能打开Chrome浏览器解决方法:
找到启动文件 :/opt/google/chrome/google-chrome
编辑该文件,修改最后一行:

exec -a "$0" "$HERE/chrome" "$@"

to
exec -a "$0" "$HERE/chrome" "$@" --user-data-dir $HOME 

热点排行