使用 Manjaro / Arch linux,我想安装另一个浏览器。但是,无论我安装 Opera 还是 Chromium(通过 pacman),在执行它时(从应用程序启动器和 shell)我总是会收到错误。
跑步铬我从外壳中得到:
$ chromium
[11452:11452:0914/225931.419271:ERROR:platform_shared_memory_region_posix.cc(217)] Creating shared memory in /dev/shm/.org.chromium.Chromium.5FNz4h failed: Permission denied (13)
[11452:11452:0914/225931.419316:ERROR:platform_shared_memory_region_posix.cc(220)] Unable to access(W_OK|X_OK) /dev/shm: Permission denied (13)
[11452:11452:0914/225931.419320:FATAL:platform_shared_memory_region_posix.cc(222)] This is frequently caused by incorrect permissions on /dev/shm. Try 'sudo chmod 1777 /dev/shm' to fix.
[0914/225931.424145:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0914/225931.424372:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0914/225931.424389:ERROR:elf_dynamic_array_reader.h(64)] tag not found
zsh: trace trap (core dumped) chromium
类似的错误歌剧:
$ opera
[11882:11882:0914/230407.927506:ERROR:platform_shared_memory_region_posix.cc(217)] Creating shared memory in /dev/shm/.org.chromium.Chromium.VS4HRD failed: Permission denied (13)
[11882:11882:0914/230407.927725:ERROR:platform_shared_memory_region_posix.cc(220)] Unable to access(W_OK|X_OK) /dev/shm: Permission denied (13)
[11882:11882:0914/230407.927735:FATAL:platform_shared_memory_region_posix.cc(222)] This is frequently caused by incorrect permissions on /dev/shm. Try 'sudo chmod 1777 /dev/shm' to fix.
Discarded=1
zsh: illegal hardware instruction (core dumped) opera
Discarded=1
然而,默认安装的 Firefox 工作正常(因此没有网络问题或此类问题)。我可以想象这是一个配置/安全问题(如 Apparmor 等)。
有任何想法吗?
答案1
看来重启解决了问题。然而我不知道发生了什么 - 以及为什么它似乎只发生在浏览器上。