error: Flatpak system operation not allowed for user

Posted on

ConfigureRemote not allowed for user

If you are new to Linux, you may find that there are 4 ways to install applications on Linux, namely Package Manager, .deb file, snap and flatpak. But in some cases, you get errors like Flatpak system operation not allowed for user.

Therefore, I will share how to fix such errors. For information, the distro I use is AntiX linux, which is included in the list of lightweight linux for old laptops.

Why this happened?

This seems to happen because the command to install the flatpak application is wrong.

For example, initially I wanted to install the kdenlive application which I downloaded from flathub with the name “org.kde.kdenlive.flatpakref”. Then I use the following command to install:

flatpak install org.kde.kdenlive.flatpakref

So it appear an error like this:

error: Flatpak system operation ConfigureRemote not allowed for user

How to fix it?

To fix this problem please add “–user” after the word install. Use the following command:

flatpak install --user org.kde.kdenlive.flatpakref

Then the error will no longer appear, but as follows:

The remote 'flathub', referred to by 'org.kde.kdenlive' at location https://dl.flathub.org/repo/ contains additional applications.
Should the remote be kept for future installations? [Y/n]: Y
Required runtime for org.kde.kdenlive/x86_64/stable (runtime/org.kde.Platform/x86_64/5.15-21.08) found in remote flathub
Do you want to install it? [Y/n]: Y

org.kde.kdenlive permissions:
    ipc                        network     pulseaudio         wayland
    x11                        devices     file access [1]    dbus access [2]
    system dbus access [3]

    [1] host, xdg-config/kdeglobals:ro
    [2] com.canonical.AppMenu.Registrar, org.kde.KGlobalSettings,
        org.kde.kconfig.notify
    [3] org.freedesktop.UDisks2


        ID                                     Branch     Op Remote  Download
 1. [✓] org.freedesktop.LinuxAudio.Plugins.TAP 21.08      i  flathub   8.9 MB / 15.7 MB
 2. [✓] org.freedesktop.LinuxAudio.Plugins.swh 21.08      i  flathub   7.7 MB / 7.6 MB
 3. [✓] org.freedesktop.Platform.GL.default    21.08      i  flathub 132.0 MB / 131.3 MB
 4. [✓] org.freedesktop.Platform.VAAPI.Intel   21.08      i  flathub  11.7 MB / 11.8 MB
 5. [✓] org.freedesktop.Platform.openh264      2.0        i  flathub   1.5 MB / 1.5 MB
 6. [✓] org.kde.KStyle.Adwaita                 5.15-21.08 i  flathub   6.6 MB /         ID                                     Branch     Op Remote  Download
 1. [✓] org.freedesktop.LinuxAudio.Plugins.TAP 21.08      i  flathub   8.9 MB / 15.7 MB
 2. [✓] org.freedesktop.LinuxAudio.Plugins.swh 21.08      i  flathub   7.7 MB / 7.6 MB
 3. [✓] org.freedesktop.Platform.GL.default    21.08      i  flathub 132.0 MB / 131.3 MB
 4. [✓] org.freedesktop.Platform.VAAPI.Intel   21.08      i  flathub  11.7 MB / 11.8 MB
 5. [✓] org.freedesktop.Platform.openh264      2.0        i  flathub   1.5 MB / 1.5 MB
 6. [✓] org.kde.KStyle.Adwaita                 5.15-21.08 i  flathub   6.6 MB / 6.6 MB
 7. [✓] org.kde.Platform.Locale                5.15-21.08 i  flathub  17.8 kB / 345.7 MB
 8. [✓] org.kde.Platform                       5.15-21.08 i  flathub 333.8 MB / 306.9 MB
 9. [✓] org.kde.kdenlive.Locale                stable     i  flathub   4.4 kB / 2.4 MB
10. [✓] org.kde.kdenlive                       stable     i  flathub  80.0 MB / 71.2 MB

Warning: Not exporting file org.kde.kdenlive.appdata.xml of unsupported type.
Installation complete.

How to run flatpak app?

Now we should to see Application ID using command:

flatpak list

The result is:

error: Flatpak system operation not allowed for user

Now, run this command:

sudo flatpak run org.kde.kdenlive 

Done.

1 comment

Leave a Reply