你好,我是 Linux(ubuntu)的新手,在使用 Chrome 时遇到了一些问题
下载了 chrome 但无法启动 chrome 浏览器。如何解决?
这是错误:
$ google-chrome-stable
[1130/235040:ERROR:nss_util.cc(96)] Failed to create /home/vakho/.pki/nssdb directory.
[1130/235040:ERROR:nss_util.cc(96)] Failed to create /home/vakho/.pki/nssdb directory.
[4772:4806:1130/235040:ERROR:nss_util.cc(96)] Failed to create /home/vakho/.pki/nssdb directory.
[4772:4772:1130/235040:ERROR:process_singleton_posix.cc(419)] readlink failed: Permission denied
[4772:4772:1130/235040:ERROR:process_singleton_posix.cc(255)] readlink(/home/vakho/.config/google-chrome/SingletonLock) failed: Permission denied
[4772:4772:1130/235040:ERROR:process_singleton_posix.cc(255)] readlink(/home/vakho/.config/google-chrome/SingletonLock) failed: Permission denied
[4772:4772:1130/235040:ERROR:process_singleton_posix.cc(279)] Failed to create /home/vakho/.config/google-chrome/SingletonLock: Permission denied
[4772:4772:1130/235040:ERROR:process_singleton_posix.cc(419)] readlink failed: Permission denied
[4772:4772:1130/235040:ERROR:process_singleton_posix.cc(255)] readlink(/home/vakho/.config/google-chrome/SingletonLock) failed: Permission denied
[4772:4772:1130/235040:ERROR:chrome_browser_main.cc(1291)] 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.
答案1
我认为你做了sudo
不该做的事情,因此你的主目录中某些文件夹的所有者是错误的。
如果我的猜测是正确的,只需执行命令
sudo chown -R $USER: ~
从您自己的终端(用Ctrl+ Alt+打开一个)应该可以修复它。T
否则请编辑您的问题并添加终端命令的输出
ls -la ~/.config/google-chrome