Gimp won't open anymore

ChatRayonnant98 Posted messages 3 Status Membre -  
 ChatRayonnant98 -

Hello,
I am using Linux Ubuntu 24.04.2 LTS
Suddenly, I realize that I can no longer open Gimp

I get this message in the logs which I don't understand:

" gdm3: Gdm: on_display_removed: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed
18:22:36 systemd: Failed to start app-gnome-gnome\x2dkeyring\x2dssh-2256.scope - Application launched by gnome-session-binary.
18:22:35 gdm3: Gdm: on_display_added: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed
18:22:35 gdm-session-wor: gkr-pam: unable to locate daemon control file3

I would need your insights...
Thank you in advance


11 réponses

ChatRayonnant98
 

Hello
And thank you very much for all these precise and methodical pieces of advice
I will do all of this right away and will keep you updated in case of any problems
ChatRayonnant98

1
Madounin Posted messages 22 Status Membre 22
 

The message you see seems to be coming from your GNOME environment, not directly from GIMP. You can try this:

Launch GIMP from a terminal => Open a terminal and just type "gimp", then press Enter. You might see a clearer error message, which can help understand the issue better.

Reinstall GIMP => This allows for a clean install. In the terminal, type:
"sudo apt install --reinstall gimp"

You will need to enter your password. This command will reinstall GIMP without touching your files.

Update your system => Always useful to fix minor bugs.

Try creating a new user on your system, log in with that account, and see if GIMP works. If it does, it’s likely a problem with your configuration files.

You can then rename the GIMP configuration folder to force its reset. In the terminal, type:
"mv ~/.config/GIMP ~/.config/GIMP_backup"
(for your information, this doesn't delete anything, it just moves the folder).

Then, try launching GIMP again.

Keep us updated

0
ChatRayonnant98
 

Indeed, it works (after reinstalling) except that it reverts to version 2.10 (I was on version 3).
It's not a big deal, since it works.
But it's a shame to have lost the latest version.
What do you think?

0
Madounin Posted messages 22 Status Membre 22
 

It's normal, it's probably the version available in the stable release. You can always try to update your packages: sudo apt update && sudo apt upgrade

If you want to revert to version 3, you can install it from the Flatpak or Snap repositories, which often offer more recent versions.

0
ChatRayonnant98 Posted messages 3 Status Membre
 

Good evening
What is very curious now is that I cannot (or no longer) run Gimp in graphic mode (from the icon) I can only open it in terminal mode with always this message:

"Failed to load module "canberra-gtk-module""
(and in version 2.10)
Thank you in advance

0
Madounin Posted messages 22 Status Membre 22
 

The message "Failed to load module canberra-gtk-module" means that a small package is missing from your system.

Here’s what to do:

  • Open a terminal
  • First, type: sudo apt update
  • Then: sudo apt install libcanberra-gtk3-module libcanberra-gtk-module

Once that’s done, try relaunching GIMP from the icon. It should work normally.

If you are using the Flatpak version (GIMP 3), also make sure you are clicking on the right shortcut in your menu. And if you want to uninstall version 2.10, you can type: sudo apt remove gimp

Then, to install GIMP 3 with Flatpak, type: flatpak install flathub org.gimp.GIMP

And to launch it, you can search for "GIMP" in the menu or type: flatpak run org.gimp.GIMP

0
ChatRayonnant98
 

Hello
The update of the missing package is aborted. I get:

"apt-get check` failed, you may have broken packages. Aborting..."
Thank you for your help

0
Madounin Posted messages 22 Status Membre 22
 

The message indicates that your system likely has broken or conflicting packages, which is preventing the installation of the missing module.

You can try these commands in order to fix that:

Open a terminal and type:
sudo apt --fix-broken install

=> This will attempt to automatically fix the broken packages.

Then, try again:
sudo apt update followed by sudo apt install libcanberra-gtk3-module libcanberra-gtk-module

If it still blocks, you can also try:
sudo dpkg --configure -a

And restart your machine afterwards, sometimes that's enough to get everything back in order.

0
ChatRayonnant98
 

Good morning again

This is what I tried to do:

sudo apt --fix-broken install
...

The following packages were installed automatically and are no longer needed:

libllvm17t64 mailcap

Please use « sudo apt autoremove » to remove them….

apt-get check` failed, you may have broken packages. Aborting...

sudo apt install libcanberra-gtk3-module libcanberra-gtk-module

libcanberra-gtk3-module is already the newest version (0.30-10ubuntu10).

(same for gtk)

sudo dpkg --configure -a

(nothing happens)

In the end, Gimp (version 2.10) only launches in terminal mode
I don't know what to think anymore
Thank you for your help

0
Madounin Posted messages 22 Status Membre 22
 

ok, well try to purge gimp and reinstall it:

sudo apt remove --purge gimp
sudo apt autoremove
sudo apt autoclean

0
ChatRayonnant98
 

Hello

it's quite amazing... I was about to place the 3 purge and reinstall orders..... but before that, I tried to start Gimp in graphical mode to have a look! And there, shock! I didn't expect that. Gimp starts with version 3. "You have installed version 3.0.2" without me asking for anything!
So
the problem is solved
I just have to thank you
It's incomprehensible, but it works! Thanks again

0