Google Chrome无法启动


10

这是我google-chrome在终端中运行时遇到的错误:

[0505/065554:ERROR:nss_util.cc(94)] Failed to create
/home/pipi/.pki/nssdb directory. [0505/065554:ERROR:nss_util.cc(94)]
Failed to create /home/pipi/.pki/nssdb directory.
[3545:3545:0505/065557:ERROR:nss_util.cc(94)] Failed to create
/home/pipi/.pki/nssdb directory.
[3545:3545:0505/065558:ERROR:process_singleton_posix.cc(417)] readlink
failed: Permission denied
[3545:3545:0505/065558:ERROR:process_singleton_posix.cc(253)]
readlink(/home/pipi/.config/google-chrome/SingletonLock) failed:
Permission denied
[3545:3545:0505/065558:ERROR:process_singleton_posix.cc(253)]
readlink(/home/pipi/.config/google-chrome/SingletonLock) failed:
Permission denied
[3545:3545:0505/065558:ERROR:process_singleton_posix.cc(277)] Failed
to create /home/pipi/.config/google-chrome/SingletonLock: Permission
denied [3545:3545:0505/065558:ERROR:process_singleton_posix.cc(417)]
readlink failed: Permission denied
[3545:3545:0505/065558:ERROR:process_singleton_posix.cc(253)]
readlink(/home/pipi/.config/google-chrome/SingletonLock) failed:
Permission denied
[3545:3545:0505/065558:ERROR:chrome_browser_main.cc(1213)] 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.

3
投票重开:答案解决了类似的问题。但是,它与其他目录有关。也许问题是相同的,但是错误消息却不同。这使发问者感到困惑。此外,没有可接受的答案。
AB

Answers:


13

假设pipi您是用户名,请更正所有权:

chown -R pipi:pipi /home/pipi

以及所有文件夹的权限:

find /home/pipi -type d -print0 | xargs -0 chmod 775

775 -这些是创建新文件夹时的默认权限。


1
好一个!+1:p
Fabby 2015年

2

许多人说,删除~/.gtkrc-2.0将达到目的。有时,许可是罪魁祸首。我有同样的问题,但没有帮助!卸载和安装Chrome也无济于事。

原来,当Chrome浏览器崩溃时,有时用户数据目录可能会损坏。因此,要解决此问题,我做了以下工作:

  1. 卸载Chrome apt-get purge google-chrome-stable
  2. 安装chrome http://chrome.google.com
  3. 删除缓存和配置文件夹。 rm -rf /home/<<your username>>/.config/google-chrome/rm -rf /home/<<your username>>/.cache/google-chrome/
  4. 启动Chrome,尽情享受吧!
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.