无法在 Ubuntu 16.04 上打开 Google Chrome

无法在 Ubuntu 16.04 上打开 Google Chrome

每当我尝试从终端打开 Google Chrome 时,都会出现此问题。有什么帮助吗?

mario@mario-Peppy:~$ google-chrome-stable

[0512/185023:ERROR:nss_util.cc(98)] Failed to create /home/mario/.pki/nssdb directory.
[0512/185023:ERROR:nss_util.cc(98)] Failed to create /home/mario/.pki/nssdb directory.
[19787:19821:0512/185024:ERROR:nss_util.cc(98)] Failed to create /home/mario/.pki/nssdb directory.
[19787:19821:0512/185024:ERROR:cache_util.cc(134)] Unable to move cache folder /home/mario/.config/google-chrome/ShaderCache/GPUCache to /home/mario/.config/google-chrome/ShaderCache/old_GPUCache_000
[19787:19821:0512/185024:ERROR:cache_creator.cc(129)] Unable to create cache
[19787:19821:0512/185024:ERROR:shader_disk_cache.cc(589)] Shader Cache Creation failed: -2
[0512/185024:ERROR:nss_util.cc(98)] Failed to create /home/mario/.pki/nssdb directory.
[19787:19787:0512/185024:ERROR:process_singleton_posix.cc(410)] readlink failed: Permission denied
[19787:19787:0512/185024:ERROR:process_singleton_posix.cc(246)] readlink(/home/mario/.config/google-chrome/SingletonLock) failed: Permission denied
[19787:19787:0512/185024:ERROR:process_singleton_posix.cc(246)] readlink(/home/mario/.config/google-chrome/SingletonLock) failed: Permission denied
[19787:19787:0512/185024:ERROR:process_singleton_posix.cc(270)] Failed to create /home/mario/.config/google-chrome/SingletonLock: Permission denied
[19787:19787:0512/185024:ERROR:process_singleton_posix.cc(410)] readlink failed: Permission denied
[19787:19787:0512/185024:ERROR:process_singleton_posix.cc(246)] readlink(/home/mario/.config/google-chrome/SingletonLock) failed: Permission denied
[19787:19787:0512/185024:ERROR:chrome_browser_main.cc(1379)] 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 chown -Rc $USER:$USER $HOME 

参考:Google Chrome 无法在 Mint 19 Cinnamon 中启动 - Linux Mint 论坛

相关内容