Neo4j Desktop fails to start on Ubuntu: App initialization error: Error: Unknown or unsupported transport 'disabled' for address 'disabled:'

Running on 4.15.0-38-generic #41~16.04.1-Ubuntu SMP Wed Oct 10 20:16:04 UTC 2018 x86_64 GNU/Linux

No window opens when starting neo4j desktop:

$ ./neo4j-desktop-offline-1.2.1-x86_64.AppImage 
[10:46:25.0826] [info] Starting Neo4j Desktop 1.2.1 @ Linux 4.15.0-38-generic
[10:46:27.0171] [info] GraphQL server is running @ localhost:11001
[10:46:27.0172] [info] Initializing persistence
[10:46:27.0265] [info] Configuring crash reporting
[10:46:27.0267] [info] Reading settings
[10:46:27.0268] [info] Reading bundled resources /tmp/.mount_neo4j-2VaLFa/resources
[10:46:27.0274] [info] Distribution folder for java should exist
[10:46:28.0453] [info] Will copy []
[10:46:28.0467] [info] Distribution folder for neo4j should exist
[10:46:31.0064] [info] Will copy []
[10:46:31.0083] [info] Distribution folder for graphApps should exist
[10:46:31.0179] [warn] Failed to read installed 'neo4j-bloom', will replace with bundled distribution Error: Graph-App[neo4j-bloom] does not contain package.json
    at p (/tmp/.mount_neo4j-2VaLFa/resources/app.asar/dist/main.prod.js:1:40901)

[10:46:31.0180] [warn] Failed to read installed 'neo4j-browser', will replace with bundled distribution Error: Graph-App[neo4j-browser] does not contain package.json
    at p (/tmp/.mount_neo4j-2VaLFa/resources/app.asar/dist/main.prod.js:1:40901)

[10:46:31.0181] [info] Will copy [ 'neo4j-bloom-1.1.0.tar.gz', 'neo4j-browser-3.2.20.tar.gz' ]
[10:46:31.0317] [info] Configuring proxy: NO_PROXY
[10:46:31.0343] [error] App initialization error: Error: Unknown or unsupported transport 'disabled' for address 'disabled:' Error: Unknown or unsupported transport 'disabled' for address 'disabled:'

^C[10:49:39.0223] [info] App is quitting
[10:49:39.0239] [info] App quit with 0 code

Hi! Looks like others have encountered similar problems App initialization error: Error: Unknown or unsupported transport 'disabled' for address 'disabled:' · Issue #23 · neo4j-devtools/neo4j-desktop · GitHub

I don't know what this does. But running these commands before starting neo4j-desktop solves this problem:

export NO_AT_BRIDGE=1
eval $(dbus-launch --sh-syntax)
export DBUS_SESSION_BUS_PID
export DBUS_SESSION_BUS_WINDOWID
eval $(echo -n "" | /usr/bin/gnome-keyring-daemon --login)
eval $(/usr/bin/gnome-keyring-daemon --components=secrets --start)

Now everything seems to work OK, as long as I don't use the top menu bar, because when I do, the program does a segmentation fault.

2 Likes