俺是菜鸟,安装了google chrome后不能以root身份运行,按以下方法做了下,再点击就没反映了,原来普通用户还能运行,现在不能了,想卸了它,能修好更好
1. root@bt~#cd /opt/google/chrome #进入Chrome的安装目录
2. root@bt:/opt/google/chrome/#vim ./google-chrome #找到exce -a "$0" "$HERE/chrome" "$@"修改为exce -a "$0" "$HERE/chrome" %U --user-data-dir=/root/.config/chrome/
3. root@bt~#mkdir -pv /root/.config/chrome/#创建个人资料的存储目录
1. root@bt~#cd /opt/google/chrome #进入Chrome的安装目录
2. root@bt:/opt/google/chrome/#vim ./google-chrome #找到exce -a "$0" "$HERE/chrome" "$@"修改为exce -a "$0" "$HERE/chrome" %U --user-data-dir=/root/.config/chrome/
3. root@bt~#mkdir -pv /root/.config/chrome/#创建个人资料的存储目录