Chrome默认无法在ubuntu root账户下运行,需要对chrome文件进行修改
1. 安装16进制编辑器hexedit
apt-get -y install hexedit
2. 用hexedit打开chrome文件
hexedit /opt/google/chrome/chrome
3. 进入到编辑器后,光标在左侧,首先按TAB键切换到右侧的ASCII码模式,接着按Ctrl+S打开搜索功能,输入geteuid查找,当光标停到首字母的地方后,直接输入getppid就能修改了,最后按Ctrl+X保存退出
4. 在dash home中搜索chrome,点击运行即可