flatpak

0 vote

avatar

Hi, can you provide also a flatpak version?

https://flatpak.org/

biggest plus:
Create one app and distribute it to the entire Linux desktop market.

Thanks.

All Comments (14)

avatar

Hi

Thanks for the suggestion.
I'll look into it.

Regards

Jonathan Lafontaine

avatar

Really Really need it :-) we use Ubuntu and Fedora workstations flatpak is life saver. I hope this feature will get traction soon. Thank you :-)

avatar

FWIW, you can build your own flatpak from the deb file. Apparently that is what vscode does https://github.com/flathub/com.visualstudio.code/blob/master/com.visualstudio.code.yaml

avatar

A flatpak package on flathub.org would be awesome !!!!! :-D

avatar

I've tried.
But mono doesn't seem to want to play ball.
Once installed, running RDM from the extra directory, the application cannot find the shared library in the folder and then crash.
I've tried some of the tricks vscode uses but that didn't help.

If anyone with more experience with building and running flatpak package wants to help, they can contact me.

Jonathan Lafontaine

avatar

Hi, I made it :-).

I also had the problem with the monolibrary. I changed the runtime from freedesktop to gnome and the failure was gone. The second problem was a permission problem, I added the

- --socket=session-bus

to the manifest. Without this option RDM does not run.

My manifest file:

com.flatpak.rdm.yml


app-id: com.devolution.RDM
default-branch: stable
runtime: org.gnome.Platform
runtime-version: '3.38'
sdk: org.gnome.Sdk
command: remotedesktopmanager
tags: [proprietary]
finish-args:
  - --share=ipc
  - --socket=x11
  - --socket=pulseaudio
  - --socket=ssh-auth
  - --socket=session-bus 
  - --share=network
  - --filesystem=host
  - --allow=devel
   
modules:
  - name: rdm
    buildsystem: simple
    build-commands:
      - ar x RemoteDesktopManager.deb
      - tar xf data.tar.xz
      - mv usr/ /app/
      - rm -r control.tar.xz data.tar.xz debian-binary
      - install -D remotedesktopmanager /app/bin/remotedesktopmanager
    sources:
      - type: file
        url: https://cdn.devolutions.net/download/Linux/RDM/2020.3.1.0/RemoteDesktopManager_2020.3.1.0_amd64.deb
        dest-filename: RemoteDesktopManager.deb
        sha256: b2f9ea487f8822636d8a6118c4fb39816fdaebc46a4d53cf766b5baf1194c05b
        only-arches:
          - x86_64
      - type: file
        path: remotedesktopmanager

start script:

remotedesktopmanager


#!/bin/bash
cd /app/usr/lib/devolutions/RemoteDesktopManager/
./RemoteDesktopManager



forum image

commands I used:

## ADD flathub Repo to the user account
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

## BUILD it
flatpak-builder build --install  --install-deps-from=flathub --user com.flatpak.rdm.yml --force-clean

## RUN it
flatpak run   com.devolution.RDM




forum image

avatar

Ohhhhh, nice!

Thank you for helping out, this is greatly appreciated and I'm sure this will please many others.
Once we are back from the holiday break, I'll look into adding flatpak to our build process.

Happy new year RDML users!

Jonathan Lafontaine

avatar

Hi,

With our recent move to .net6, I was finally able to have a fully functional flatpak package.
It is available on flathub as net.devolutions.RDM

Better late than never!
Regards

Jonathan Lafontaine

avatar

Hi, thanks.

I will try it out. BR

avatar

Hello devolution community,
The Flatpak idea is very good. So a manjaro user can also use RDM.

Unfortunately, the flatpak version keeps crashing without an error message. I have the same problem under manjaro and also with mint-os (ubuntu).
Most of the time, RDM crashes as soon as you select the vault.

Do you have an idea? I'm happy to provide logs, just need to know which ones :)

Regards, Lukas

avatar

Hi Lukas,

Thank you for your post. We are aware of some issues concerning the flatpak version. Have you noticed any other cases where RDM crashes? Also, can you please do the following steps in RDM:

  1. Open a SQLite data source
  2. Right-click on the root -> Import ... -> Import
  3. Press the "Add" icon at the bottom


Does it crashes or show an error message?

Simon Duguay Létourneau

avatar

Hi Simon

At home, RDM crashes at very different places. I use SQLite at home. Sometimes you can make 2-3 RDP connections without crashing, but most of the time it crashes after 1 connection or already on the dashboard.

At our company we use the Devolutions server. 90% of the time RDM crashes as soon as I open the data source.

Your test (at work):
The first time I could click on the "Add" icon. Then I wanted to do the same thing again, but RDM crashed when I right-clicked.

So everything is completely different ... :( No, unfortunately no error messages.

Thanks for your help Simon!

avatar

Update:

  1. Flatpak still does not work
  2. I have found the solution


OS: Manjaro (i3 Community version)

  1. Download the .deb file
  2. Go to Downloads folder
  3. sudo dpkg -i RemoteDesktopManager_2022.3.1.3_amd64.deb


Regards, Lukas


avatar

Hello support76,

Thank you for providing a workaround, it will help other community members with that issue!

Best regards,

Richard Boisvert