Linux 上 Neo4j Desktop 问题排查
本页描述了用户在 Linux 上运行 Neo4j Desktop 时可能遇到的常见问题。
错误:找到 SUID sandbox helper 二进制文件,但配置不正确。
The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_neo4j-0qHCJ1/chrome-sandbox is owned by root and has mode 4755.
说明
Neo4j Desktop 是一个 Electron 应用。
Electron 使用了 Linux 内核的一个功能,但在某些发行版中被禁用(例如 Debian)。
它们为此类情况提供了备用二进制文件,但似乎 electron-builder 给它打包了错误的权限,导致了您看到的权限错误。
此评论 详细说明了该问题。
错误:未在任何 .service 文件中提供名称 org.freedesktop.secrets
App initialization error: Error: The name org.freedesktop.secrets was not provided by any .service files {
constructor: 'Error',
stack: 'Error: The name org.freedesktop.secrets was not provided by any .service files'
}
说明
Neo4j Desktop 使用系统钥匙串来存储凭据。在 Linux(不论发行版或桌面环境)中,这指的是 gnome-keyring。在以前的版本中,如果没有 gnome-keyring,应用程序将无法启动。现在,如果找不到 gnome-keyring,它会切换到内置的 keyctl 实用程序。
错误:Neo4j Desktop 未在应用程序菜单中显示。
Neo4j Desktop 未在应用程序菜单中显示。
解决方案
安装 AppImageLauncher 并集成 Neo4j Desktop 的 AppImage。
此页面有帮助吗?