installation of monero-gui from flatpak fails without sudo su

Manual from wiki is not working without sudo su. But you can add sudo su and this manual will work then.

Here is logs:

user@host:~$ sudo su
root@host:/home/user# flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
root@host:/home/user# flatpak install flathub org.getmonero.Monero
Looking for matches…
Required runtime for org.getmonero.Monero/x86_64/stable (runtime/org.kde.Platform/x86_64/5.15-22.08) found in remote flathub
Do you want to install it? [Y/n]: y

org.getmonero.Monero permissions:
ipc network wayland x11 devices file access [1] dbus access [2]

[1] xdg-config/kdeglobals:ro, ~/Monero:create
[2] com.canonical.AppMenu.Registrar, org.kde.KGlobalSettings, org.kde.kconfig.notify

    ID                                             Branch                 Op            Remote             Download
  1. [✓] org.freedesktop.Platform.GL.default 22.08 i flathub 142.0 MB / 142.3 MB
  2. [✓] org.freedesktop.Platform.GL.default 22.08-extra i flathub 9.5 MB / 142.3 MB
  3. [✓] org.freedesktop.Platform.openh264 2.2.0 i flathub 883.7 kB / 944.3 kB
  4. [✓] org.getmonero.Monero.Locale stable i flathub 61.4 kB / 54.4 kB
  5. [✓] org.kde.KStyle.Adwaita 5.15-22.08 i flathub 6.6 MB / 6.6 MB
  6. [✓] org.kde.Platform.Locale 5.15-22.08 i flathub 228.4 MB / 354.8 MB
  7. [✓] org.kde.Platform 5.15-22.08 i flathub 370.6 MB / 323.7 MB
  8. [✓] org.getmonero.Monero stable i flathub 55.9 MB / 56.5 MB

Warning: Not exporting file org.getmonero.Monero.appdata.xml of unsupported type.
Installation complete.
root@host:/home/user# flatpak run org.getmonero.Monero
2023-04-29 00:35:58.218 W Qt:5.15.8 GUI:- | screen: 1916x938 - available: QSize(1916, 907) - dpi: 96.0347 - ratio:0.750228
2023-04-29 00:36:00.240 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.240 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.240 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.240 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.240 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.240 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.240 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.240 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.261 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.261 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.270 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.270 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.270 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.270 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.271 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.271 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.271 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.271 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.290 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.290 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.506 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.514 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.514 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.514 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.514 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.514 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.514 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.514 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.514 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.642 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.642 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.642 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.642 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.642 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.642 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.642 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.642 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:36:00.642 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
2023-04-29 00:

I don’t see how that’s possible. What’s the error message?

It working with sudo su only. Here is logs with errors:

user@host:~$ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
user@host:~$ flatpak install flathub org.getmonero.Monero
Looking for matches…
Required runtime for org.getmonero.Monero/x86_64/stable (runtime/org.kde.Platform/x86_64/5.15-22.08) found in remote flathub
Do you want to install it? [Y/n]: y
org.getmonero.Monero permissions:
ipc network wayland x11
devices file access [1] dbus access [2]
[1] xdg-config/kdeglobals:ro, ~/Monero:create
[2] com.canonical.AppMenu.Registrar, org.kde.KGlobalSettings,
org.kde.kconfig.notify
ID Branch Op Remote Download
ID Branch Op Remote Download

  1. org.freedesktop.Platform.GL.default 22.08 i flathub 142.0 MB / 142.3 MB
    ID Branch Op Remote Download
    ID Branch Op Remote Download
  2. [✗] org.freedesktop.Platform.GL.default 22.08 i flathub 142.0 MB / 142.3 MB
    ID Branch Op Remote Download
    ID Branch Op Remote Download
  3. [✗] org.freedesktop.Platform.GL.default 22.08 i flathub 142.0 MB / 142.3 MB
    ID Branch Op Remote Download
    ID Branch Op Remote Download
  4. [✗] org.freedesktop.Platform.GL.default 22.08 i flathub 142.0 MB / 142.3 MB
    ID Branch Op Remote Download
  5. [✗] org.freedesktop.Platform.GL.default 22.08 i flathub 142.0 MB / 142.3 MB
  6. [✗] org.freedesktop.Platform.GL.default 22.08 i flathub 142.0 MB / 142.3 MB 2. [✗] org.freedesktop.Platform.GL.default 22.08-extra i flathub 142 1. [✗] org.freedesktop.Platform.GL.default 22.08 i flathub 142.0 MB / 142.3 MB 2. [✗] org.freedesktop.Platform.GL.default 22.08-extra i flathub 142 1. [✗] org.freedesktop.Platform.GL.default 22.08 i flathub 142.0 MB / 142.3 MB 2. [✗] org.freedesktop.Platform.GL.default 22.08-extra i flathub 142 1. [✗] org.freedesktop.Platform.GL.default 22.08 i flathub 142.0 MB / 142.3 MB 2. [✗] org.freedesktop.Platform.GL.default 22.08-e

[and many, many pages of such logs further]

  1. [✗] org.freedesktop.Platform.GL.default 22.08 i flathub 142.0 MB / 142.3 MB 2. [✗] org.freedesktop.Platform.GL.default 22.08-extra i flathub 142.0 MB / 142.3 MB 3. [✗] org.freedesktop.Platform.openh264 2.2.0 i flathub 883.8 kB / 944.3 kB 4. [✗] org.getmonero.Monero.Locale stable i flathub 61.4 kB / 54.4 kB 5. [✗] org.kde.KStyle.Adwaita 5.15-22.08 i flathub 6.6 MB / 6.6 MB 6. [✗] org.kde.Platform.Locale 5.15-22.08 i flathub 229.3 MB / 354.8 MB
  2. [✗] org.kde.Platform 5.15-22.08 i flathub 372.3 MB / 323.7 MB
  3. org.getmonero.Monero stable i flathub < 56.5 MB

Warning: Could not unmount revokefs-fuse filesystem at /var/tmp/flatpak-cache-537U31/org.freedesktop.Platform.GL.default-W58U31: Failed to execute child process “fusermount” (No such file or directory)
Warning: Could not unmount revokefs-fuse filesystem at /var/tmp/flatpak-cache-537U31/org.freedesktop.Platform.GL.default-SGUO31: Failed to execute child process “fusermount” (No such file or directory)
Warning: Could not unmount revokefs-fuse filesystem at /var/tmp/flatpak-cache-537U31/org.freedesktop.Platform.openh264-M8XN31: Failed to execute child process “fusermount” (No such file or directory)
Warning: Could not unmount revokefs-fuse filesystem at /var/tmp/flatpak-cache-537U31/org.getmonero.Monero.Locale-W8TO31: Failed to execute child process “fusermount” (No such file or directory)
Warning: Could not unmount revokefs-fuse filesystem at /var/tmp/flatpak-cache-537U31/org.kde.KStyle.Adwaita-NBSP31: Failed to execute child process “fusermount” (No such file or directory)
Warning: Could not unmount revokefs-fuse filesystem at /var/tmp/flatpak-cache-537U31/org.kde.Platform.Locale-9BBO31: Failed to execute child process “fusermount” (No such file or directory)
Error: Could not unmount revokefs-fuse filesystem at /var/tmp/flatpak-cache-537U31/org.kde.Platform-LO2331: Failed to execute child process “fusermount” (No such file or directory)
error: Failed to install org.kde.Platform: Could not unmount revokefs-fuse filesystem at /var/tmp/flatpak-cache-537U31/org.kde.Platform-LO2331: Failed to execute child process “fusermount” (No such file or directory)

Could be easy to fix.

Install fuse.

1 Like
sudo apt update

sudo apt install fuse

Does that fix the issue?