ubuntu google chorme can not be run as root
2017-03-15 09:26
621 查看
linux 无法用root用户启动chorme,解决方法如下
1.首先需要安装十六进制编辑器
apt-get -y install hexedit 2.然后使用编辑器编辑Chrome
(使用 dpkg -c 安装包名可查看安装目录)
hexedit /opt/google/chrome/chrome
3.进入到编辑器后,光标在左侧,首先按TAB键切换到右侧的ASCII码模式,接着按Ctrl+S打开搜索功能,输入geteuid查找,当光标停到首字母的地方后,直接输入getppid就能修改了,最后按Ctrl+X保存退出。
ps:进行第三步时需关闭提示“google chorme can not be run as root”的窗口,否则修改时提示read-only,导致修改失败
4.重新启动chorme
1.首先需要安装十六进制编辑器
apt-get -y install hexedit 2.然后使用编辑器编辑Chrome
(使用 dpkg -c 安装包名可查看安装目录)
hexedit /opt/google/chrome/chrome
3.进入到编辑器后,光标在左侧,首先按TAB键切换到右侧的ASCII码模式,接着按Ctrl+S打开搜索功能,输入geteuid查找,当光标停到首字母的地方后,直接输入getppid就能修改了,最后按Ctrl+X保存退出。
ps:进行第三步时需关闭提示“google chorme can not be run as root”的窗口,否则修改时提示read-only,导致修改失败
4.重新启动chorme
相关文章推荐
- 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”错误的解决方法
- ubuntu13.10: google chrome can not be run as root
- ubuntu 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
- BackTrack上运行Chrome出现“Google Chrome can not be run as root”错误
- bt5 使用chrome 错误解决Google Chrome can not be run as root.
- Ubuntu中SonarQube6.7 启动报错:can not run elasticsearch as root
- Chromium can not be run as root错误
- 解决Linux下出现Google Chrome does not run as root问题
- root用户无法运行tor解决办法(The tor browser bundle should not be run as root )
- VLC is not supposed to be run as root. 问题解决
- root用户无法运行tor解决办法(The tor browser bundle should not be run as root )
- chromium can not run as root
- 关于Ubuntu下XXis not marked as executable. it may be dangerous to run. 程序无法执行问题
- [DEBUG] “java.sql.SQLException: Value '0000-00-00' can not be represented as java.sql.Timestamp”