Linux 上 Neo4j Desktop 故障排除
此页面描述了用户在 Linux 上运行 Neo4j Desktop 时可能遇到的常见问题。
错误:找到 SUID 沙箱助手二进制文件,但配置不正确。
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 似乎以错误的权限对其进行了打包,因此出现了您收到的权限错误。
此评论更详细地解释了这个问题。
错误:org.freedesktop.secrets 名称未由任何 .service 文件提供
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。
此页面有帮助吗?