解决Chromium 不能以 root 身份运行
2012-08-30 08:48
309 查看
一 出现的问题
如果你使用ubuntu操作系统,又是在root身份运行,运行chromium会出现以下的问题:
图1.1 无法运行
二 解决办法
用hexedit工具打开/usr/lib/chromium-browser/目录下的chromium-browser这个二进制文件
如果你没有这个工具,有是在ubuntu操作系统下,可以使用一下命令安装:
sudo apt-get install hexedit
之后就可以用了。
命令 :hexedit /usr/lib/chromium-browser/chromium-browser
操作:按Tab键切换至右侧ASCII模式,Ctrl+S搜索geteuid,将其改为getppid后保存退出
注意:要把上面那个出错的对话框关闭掉(按close就可以了),否则在修改chromium-browser 时老是出现一下错误:
File is read-only!
(press any key)
三 测试
图 2.1 成功运行
四 参考资料
说明:以上资料为网上资料和自己修改后所写,转载请说明。
/article/6102026.html
五 附录
hexedit工具使用方法如下:(参考网络资料)
移动(Moving),移动到文件首部/尾部(go to start/end of the file)→下一个字符(next character)←上一个字符(previous character)↑上一行(previous line)↓下一行(next line)Home行首(beginning of line)End行尾(end of line)PageUp上一页(page forward)PageDown下一页(page backward)杂项(Miscellaneous)F1帮助(help)F2保存(save)F3载入(load
file)Ctrl+X保存并退出(save and exit)Ctrl+C不保存退出(exit without save)Tab十六进制/ASCII码切换(toggle hex/ascii)Backspace撤销前一个字符(undo previous character)Ctrl+U撤销全部操作(undo all)Ctrl+S向下查找(search forward)Ctrl+R向上查找(search forward)复制/粘贴(Cut/Paste)Esc+W复制(copy)Ctrl+Y粘贴(paste)
如果你使用ubuntu操作系统,又是在root身份运行,运行chromium会出现以下的问题:
图1.1 无法运行
二 解决办法
用hexedit工具打开/usr/lib/chromium-browser/目录下的chromium-browser这个二进制文件
如果你没有这个工具,有是在ubuntu操作系统下,可以使用一下命令安装:
sudo apt-get install hexedit
之后就可以用了。
命令 :hexedit /usr/lib/chromium-browser/chromium-browser
操作:按Tab键切换至右侧ASCII模式,Ctrl+S搜索geteuid,将其改为getppid后保存退出
注意:要把上面那个出错的对话框关闭掉(按close就可以了),否则在修改chromium-browser 时老是出现一下错误:
File is read-only!
(press any key)
三 测试
图 2.1 成功运行
四 参考资料
说明:以上资料为网上资料和自己修改后所写,转载请说明。
/article/6102026.html
五 附录
hexedit工具使用方法如下:(参考网络资料)
移动(Moving),移动到文件首部/尾部(go to start/end of the file)→下一个字符(next character)←上一个字符(previous character)↑上一行(previous line)↓下一行(next line)Home行首(beginning of line)End行尾(end of line)PageUp上一页(page forward)PageDown下一页(page backward)杂项(Miscellaneous)F1帮助(help)F2保存(save)F3载入(load
file)Ctrl+X保存并退出(save and exit)Ctrl+C不保存退出(exit without save)Tab十六进制/ASCII码切换(toggle hex/ascii)Backspace撤销前一个字符(undo previous character)Ctrl+U撤销全部操作(undo all)Ctrl+S向下查找(search forward)Ctrl+R向上查找(search forward)复制/粘贴(Cut/Paste)Esc+W复制(copy)Ctrl+Y粘贴(paste)
相关文章推荐
- 解决Chromium 不能以 root 身份运行
- chromium在root用户下不能运行的解决方法
- chromium在root用户下不能运行的解决方法
- ubuntu14.04下Google Chrome浏览器不能以root用户身份运行解决
- ubuntu12.04下Google Chrome浏览器不能以root用户身份运行解决方案
- Linux下,不能以根用户身份运行google chrome 浏览器的解决办法
- ubuntu下以root身份成功运行chromium
- Linux下,不能以根用户身份运行google chrome 浏览器的解决办法
- Google Chrome浏览器不能以根用户身份运行解决
- 在VMware下运行Fedora Linux以root身份登入时显示鉴定故障的解决方法
- ubuntu下以root身份成功运行chromium
- Linux下,不能以根用户身份运行google chrome 浏览器的解决办法
- 不能在受限用户中以管理员身份运行软件了,解决啦
- Ubuntu下Chrome浏览器不能以根用户身份运行的解决方法
- 以root身份运行wireshark报错解决
- Linux下,不能以根用户身份运行google chrome 浏览器的解决办法.
- ubuntu Google Chrome浏览器不能以root用户身份运行解决方案
- fedora20安装chrome,并解决不能以root用户运行问题
- Linux下tomcat作为守护进程运行(开机启动、以指定的用户运行、解决非root身份不能绑定1024以下端口的问题)的配置方法
- Linux下,不能以根用户身份运行google chrome 浏览器的解决办法.