GTK error when launching Neo4j desktop 2.02 on Linux Mint 22.1

Hello,

I have installed neo4j desktop 2.02 on a computer in which I just made a fresh Linux Mint 22.1 MATE install. No extra things installed yet except a few Firefox add-ons.

After following the instructions stated here, nothing happens after double clicking the AppImage. If I run it from the terminal using ./neo4j-desktop-2.0.2-x86_64.AppImage I get the following error message:

(process:37682): Gtk-ERROR **: 19:31:21.347: GTK 2/3 symbols detected. Using GTK 2/3 and GTK 4 in the same process is not supported
Trampa de traçat/punt d’aturada (s'ha bolcat la memòria)

The last line is in Catalan and may translate to something like “Trace trap/stop point (core dumped)”.

Can someone lend me a hand in here? I’m not much of a tech profile, and despite I have looked around for answers I’m not familiar at all with GTK and I’m clueless. Any help will be much appreciated. Thank you in advance!

Looks like:

  • your Linux comes with GTK 2 or 3, and the application needs GTK 4 (you need to install).

  • the libraries are not properly linked (more complex to fix)

Not sure what flavour of Linux is MINT so:

$ dpkg -l | grep libgtk

or

$ rpm -qa | grep gtk

will tell you which version is installed.

1 Like

Hello Esther,

I had this issue as well on my Linux machine. Just as @joshcornejo say this can happen with different specific GTK dependency states.

There is a straight forward way to allow the desktop to launch please try (launch from terminal):

./neo4j-desktop-2.0.1-x86_64.AppImage --gtk-version=3

This will tell the program to only load GTK 3 and ignore GTK 4. This is the way I run Neo4j desktop and it works great for now. Hope this helps you as well!

1 Like

Yay! It works, thank you!

Hope a future update will fix this issue; in any case, maybe adding this workaround to the documentation in the meantime may be helpful to many others. Anyway, problem solved; thank you all for your quick replies!

1 Like