2

Recently, I saw a new way to install the latest version of gimp is using an terminal application named flatpak, installed it, been able to start and use the gimp to the point that i decided to restart my computer. After that, doestn't matter how many times i try to enter my password, it drops me back to same screen over and over again. I solve the issue with deleting flatpak from virtual console, but that means launching gimp is not possible anymore.

Since apt not gives me the latest version, and I want to understand what is the issue about flatpak and if it is broken somehow, how should I solve the issue or install gimp with another way?

  • Flatpak or snap versions are not so well integrated with the rest. If you use Ubuntu 18+ you can get the latest and greatest Gimp as a standard application from the Gimp PPA. It also has packages for popular Gimp plugins that you may not find in the snap or flatpak versions. – xenoid Jan 9 '19 at 12:03
0

The latest stable version 2.10 of GIMP can be installed in three different ways.

  • snap package in all currently supported versions of Ubuntu

    sudo snap install gimp
    
  • apt package in Ubuntu 18.10 and later – The gimp apt package can open raw images in Ubuntu if the gimp-dcraw package is also installed, but the GIMP flatpak can't open raw images in Ubuntu.

  • flatpak – Maybe there is a bug with flatpak or one of its dependency packages. When the first flatpak package is installed, it installs several dependency packages along with it, including an Nvidia runtime for the flatpak application deployment framework if your computer has an Nvidia graphics card. To show all flatpak packages that are currently installed run this command:

    flatpak list 
    
| improve this answer | |
  • Yes it is most likely because of dependent packages, also my computer is running on amd graphics hardware tho, maybe installing a driver for invidia is causing some sort of conflict? – FFaFafy Oct 20 '18 at 11:37
  • I have both the proprietary Nvidia graphics driver from the default Ubuntu repositories and the flatpak Nvidia runtime installed alongside each other in Ubuntu 18.04, and they don't conflict with each other at all. – karel Oct 20 '18 at 11:41
2

I had the same problem. In my case the problem was that the flatpak directory in the /home/test/.local/share directory was owned by root:root. I fixed this as follows:

  1. Press Ctrl+Alt+F3.
  2. Then log in.
  3. Fix directory owner.

    sudo chown -R test:test /home/test/.local/share/flatpak  
    
  4. You can go back to the GUI by pressing Ctrl+Alt+F2.

  5. Login works.
| improve this answer | |
1

First: get ride of the login loop.
Second: installing gimp using snap.

Simply, You can get ride of the log in loop by uninstall what you just have installed.

  1. press Ctrl+Alt+F1.
  2. Then log in
  3. Uninstall flatpack with sudo apt-get purge flatpak
  4. You can go back to GUI by pressing Ctrl+Alt+F7.

Hope you can login now, then you can install gimp using snap:
if you don't have snap install it using sudo apt-get install snap
then install gimp with sudo snap install gimp

| improve this answer | |
  • Thanks for the reply, but I already purged and managed to login actually, but gimp is also gone with the flatpak, although snap is probably going to work. – FFaFafy Oct 20 '18 at 11:33
  • You're welcome. – Ahmed Mohamed Oct 20 '18 at 18:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.