Hi, I am new to flatpak and tried to create a flatpak manifest for the “Remote Desktop Manager” software from Devolution.
It is a commercial software, and so I tried to create a copy/paste manifest from MS Visual Code manifest.
Manifest:
app-id: com.devolution.RDM default-branch: stable runtime: org.freedesktop.Sdk runtime-version: '20.08' sdk: org.freedesktop.Sdk command: remotedesktopmanager tags: [proprietary] finish-args: - --require-version=0.10.3 - --share=ipc - --socket=x11 - --socket=pulseaudio - --socket=ssh-auth - --share=network - --device=all - --filesystem=host - --allow=devel - --talk-name=org.freedesktop.Notifications - --talk-name=org.freedesktop.secrets - --talk-name=org.freedesktop.Flatpak - --env=LD_LIBRARY_PATH=/app/usr/lib/devolutions/RemoteDesktopManager/ - --filesystem=xdg-config/kdeglobals:ro - --talk-name=com.canonical.AppMenu.Registrar - --talk-name=com.canonical.AppMenu.Registrar.* - --system-talk-name=org.freedesktop.login1 sdk-extensions: - org.freedesktop.Sdk.Extension.mono6 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:
cat remotedesktopmanager
#!/bin/bash
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/app/usr/lib/devolutions/RemoteDesktopManager/
cd /app/usr/lib/devolutions/RemoteDesktopManager/
./RemoteDesktopManager
I can build the software but when I try to start it I get the error: System.DllNotFoundException: libmono-native.so
Now I am stucked, when I start the software without flatpak it is working. Within flatpak I get the libmono error. What can I do find the failure? I tried it with the debug shell and so on, but cannot figure out what the difference is.
Thanks, Br