google浏览器在ubuntu下不能使用root打开
来源:互联网 发布:iphone专业拍照软件 编辑:程序博客网 时间:2024/05/21 23:41
刚刚更新了google浏览器,使用root不能打开了
提示如下:
Google Chrome 浏览器 can not be run as root.
Please start Google Chrome 浏览器 as a normal user. If you have previously run Google Chrome 浏览器 as root, you will need to change the ownership of your profile directory.
在
http://groups.google.com/a/chromium.org/group/chromium-reviews/browse_thread/thread/3433b455907e71ca/3b880311718c6741?lnk=raot&pli=1
找到
+// Allow chrome to be run as root.
+const char kAllowRunAsRoot[] = "allow-run-as-root";
当前最好的办法是安装 google 稳定板,现在稳定版本 是10.0.648.204
最新办法是:
我用的版本是 chromium 11.0.696.68 (84545)
将/usr/bin/chromium-browser文件里面的最后的
exec $LIBDIR/$APPNAME $CHROMIUM_FLAGS "$@"
替换成
xhost +
sudo -i -u 非root用户 exec $LIBDIR/$APPNAME $CHROMIUM_FLAGS "$@"
xhost -
如果是其他的版本,找到启动脚本文件最后执行的地方,做如上的修改即可。
最新版本的google chrome 浏览器又支持root打开了,
晕。搞来搞去的。
后来的版本又不可以了
- google浏览器在ubuntu下不能使用root打开
- 【ubuntu】chrome 不能在root下打开,解决方案!
- ubuntu Google Chrome浏览器不能以root用户身份运行解决方案
- Ubuntu在root身份下不能调节音量
- ubuntu root用户不能开启google chrome
- ubuntu root用户不能打开googlechrome
- ubuntu14.04下Google Chrome浏览器不能以root用户身份运行解决
- ubuntu12.04下Google Chrome浏览器不能以root用户身份运行解决方案
- vmware下安装ubuntu键盘不能使用 root默认密码
- ubuntu下root用户使用chrome浏览器问题 zz
- 在Ubuntu 14.04下安装Google Chrome浏览器
- ubuntu下安装google浏览器
- ubuntu 14.04 kylin root登录和google浏览器root登录
- Chrome默认不能以root身份运行 Google Chrome 浏览器
- kali安装chrome浏览器,root用户不能打开的问题
- Ubuntu下不能以根用户身份运行 Google Chrome 浏览器(部分转载)
- Ubuntu下不能以根用户身份运行 Google Chrome 浏览器
- ubuntu下不能以根用户身份运行 Google Chrome 浏览器
- 固定点2(未完成)
- webkit在win32下的编译规则(八)
- core-default配置
- elf文件格式分析
- u-boot-2011.03在TQ2440上的移植(10)--支持串口xmodem协议
- google浏览器在ubuntu下不能使用root打开
- 六种语言破解比较和常见思路。
- 水晶报表进行每页统计(在水晶报表中实现每页统计)
- Sandboxie Service 服务启动失败的解决方法
- strptime windows实现
- 深圳华强北日系元件每日一价 最高单品涨幅150%
- WINDOWS系统属性符号说明
- u-boot-2011.03在TQ2440上的移植(11)--支持USB下载
- 不一样的课程表,不一样的Excle--用Excle进行设计(44):汇总所演绎的数据逻辑