zoukankan      html  css  js  c++  java
  • centos googlechrome root 启动问题

    第一次用linux,安装chrome的时候,装上以后发现不能以root来启动chrome,大概提示如下Google Chrome can not be run as root,需要加上--usr-data-dir选项,肯定是有个地方配置chrome了,网上找了下,解决方法如下

    # vi /opt/google/chrome/google-chrome

    and Find line exec -a “$0″ “$HERE/chrome” “$@” and change it to following

    exec -a “$0″ “$HERE/chrome” “$@” –user-data-dir ( Two Hyphens at start of options )

    Save and Close File

     
    启动chrome,应该就可用root用户启动来
  • 相关阅读:
    164-268. 丢失的数字
    163-20. 有效的括号
    Sword 30
    Sword 29
    Sword 27
    Sword 25
    Sword 24
    Sword 22
    Sword 21
    Sword 18
  • 原文地址:https://www.cnblogs.com/wenlove/p/3018556.html
Copyright © 2011-2022 走看看