Ubuntu 16.04 Google-Chrome 安装成功但打开失败 解决方案

错误提示:

[18724:18724:0420/141032.551154:ERROR:process_singleton_posix.cc(416)] readlink failed: Permission denied
[18724:18724:0420/141032.551203:ERROR:process_singleton_posix.cc(252)] readlink(/home/xxx/.config/google-chrome/SingletonLock) failed: Permission denied
[18724:18724:0420/141032.551236:ERROR:process_singleton_posix.cc(252)] readlink(/home/xxx/.config/google-chrome/SingletonLock) failed: Permission denied
[18724:18724:0420/141032.551248:ERROR:process_singleton_posix.cc(276)] Failed to create /home/xxx/.config/google-chrome/SingletonLock: Permission denied
[18724:18724:0420/141032.551277:ERROR:process_singleton_posix.cc(416)] readlink failed: Permission denied
[18724:18724:0420/141032.551291:ERROR:process_singleton_posix.cc(252)] readlink(/home/xxx/.config/google-chrome/SingletonLock) failed: Permission denied
[18724:18724:0420/141032.551358:ERROR:chrome_browser_main.cc(1571)] Failed to create a ProcessSingleton for your profile directory. This means that running multiple instances would start multiple browser processes rather than opening a new window in the existing process. Aborting now to avoid profile corruption.
[18724:18759:0420/141032.568992:ERROR:cache_util.cc(134)] Unable to move cache folder /home/xxx/.config/google-chrome/ShaderCache/GPUCache to /home/xxx/.config/google-chrome/ShaderCache/old_GPUCache_000
[18724:18759:0420/141032.569018:ERROR:disk_cache.cc(132)] Unable to create cache
[18724:18759:0420/141032.569024:ERROR:shader_disk_cache.cc(593)] Shader Cache Creation failed: -2

问题原因:在执行 创建配置文件夹缓冲文件夹命令 时,由于目录已经存在,无法执行操作

解决方案:

1.卸载chrome. (非必须)

apt-get purge google-chrome-stable

2.安装chrome. (非必须)

3.删除缓存和配置文件夹. (必须)

rm -rf /home/<<your username>>/.config/google-chrome/
rm -rf /home/<<your username>>/.cache/google-chrome/

4.运行chrome

转载于:https://my.oschina.net/tigerBin/blog/883619

  • 2
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值