使用 Manjaro / Arch linux,我想安装另一个浏览器。但是,无论我安装的是 Opera 还是 Chromium(通过 pacman),在执行它时(来自 Application Launcher 和 shell)总是会出错。
从我得到的外壳运行Chromium :
$ 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的类似错误:
$ 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 等)。
有任何想法吗?