我可以通过右键单击并选择“使用临时配置文件打开一个新窗口”来启动 Chromium。但是我无法让它与我的正常用户配置文件一起使用。我收到以下错误:
kurt@pop-os:~$ chromium-browser
[18769:18786:0620/131321.807483:ERROR:cache_util.cc(141)] Unable to move cache folder /home/kurt/.config/chromium/ShaderCache/GPUCache to /home/kurt/.config/chromium/ShaderCache/old_GPUCache_000
[18769:18786:0620/131321.807515:ERROR:disk_cache.cc(178)] Unable to create cache [18769:18786:0620/131321.807521:ERROR:shader_disk_cache.cc(623)] Shader Cache Creation failed: -2
[18769:18769:0620/131321.854367:ERROR:process_singleton_posix.cc(433)] readlink failed: Permission denied (13)
[18769:18769:0620/131321.854396:ERROR:process_singleton_posix.cc(257)] readlink(/home/kurt/.config/chromium/SingletonLock) failed: Permission denied (13)
[18769:18769:0620/131321.854416:ERROR:process_singleton_posix.cc(257)] readlink(/home/kurt/.config/chromium/SingletonLock) failed: Permission denied (13)
[18769:18769:0620/131321.854423:ERROR:process_singleton_posix.cc(281)] Failed to create /home/kurt/.config/chromium/SingletonLock: Permission denied (13)
[18769:18769:0620/131321.854433:ERROR:process_singleton_posix.cc(433)] readlink failed: Permission denied (13)
[18769:18769:0620/131321.854440:ERROR:process_singleton_posix.cc(257)] readlink(/home/kurt/.config/chromium/SingletonLock) failed: Permission denied (13)
[18769:18769:0620/131321.854467:ERROR:chrome_browser_main.cc(1408)]
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.
[18769:18786:0620/131321.870458:ERROR:browser_process_sub_thread.cc(221)]
Waited 13 ms for network service
运行ls -la /home/kurt/.config/chromium/
输出如下:
kurt@pop-os:~$ ls -la /home/kurt/.config/chromium/
ls: cannot open directory '/home/kurt/.config/chromium/': Permission denied
有什么想法如何让它发挥作用吗?
我正在使用 Pop 操作系统 Gnu/Linux。
答案1
通过删除配置目录解决了问题
/home/kurt/.config/chromium/
Chromium 能够运行并生成新的配置文件,没有权限问题。
感谢您的编辑和评论