0%

kali 安装chrome后点击图标无反应

是因为Google-Chrome不能以 root 运行的原因,解决方式如下:
用hexedit去编辑chrome文件,把geteuidgetppid

  1. 搜索并安装hexedit:

    1
    # apt-get hexedit
  2. 用hexedit修改/opt/google/chrome/chrome文件,如果提示文件为只读,采用以下方法:

    1
    2
    # cp chrome /root/
    # hexedit /root/chrome

    这样便可以修改/root/目录下的chrome了,打开chrome,按Tab键,再按Ctrl+s搜索geteuid,找到后,直接输入getppid,将会覆盖掉geteuid,最后按Ctrl+x保存。

    注意:路径如果不同的话请自行使用dpkg -c 安装包来察看安装到哪里了。

  3. /root目录下的chrome复制回/opt/google/chrome/,覆盖掉原来的chrome文件即可。打开chome,现在可以正常使用了。