2012年8月27日

centos 使用 root运行chrome

摘要: 第一种方法:[root@h3idan /]# vim /opt/google/chrome/google-chrome编辑最后一行代码:exec -a "$0" "$HERE/chrome" "$@" --user-data-dir然后保存。第二种方法:[root@h3idan /]# vim /opt/google/chrome/chrome查找到 geteuid 改为 getppid。然后保存!具体是怎么回事不知道,但是能用就行了! 阅读全文

posted @ 2012-08-27 18:12 h3idan 阅读(684) 评论(0) 推荐(0) 编辑

导航