See the wiki for instructions. The recipe here is always pointed to the master
branch. The recipe in the flathub repository is pointed to the latest tagged release. Files except the JSON file in this directory is used for automatic builds.
- Update flathub shared modules
From time to time update the shared-modules provided by flathub
git submodule update --remote --merge
- Install
flatpak
andflatpak-builder
(instructions). Remmina Flatpak manifest recommends the latest version offlatpak-builder
.
- Enable the Flatpak repository maintained by Flathub:
flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- Build Remmina:
git submodule init -- shared-modules/
git submodule update -- shared-modules/
flatpak-builder --user --sandbox --install-deps-from=flathub --repo=repo/ appdir/ org.remmina.Remmina.json
Remmina will be built in appdir/
folder and the result will be exported
to a local Flatpak repository in repo/
folder.
- Enable the local repository:
flatpak --user remote-add --no-gpg-verify --if-not-exists my-repo repo/
- Install Remmina from your repository:
flatpak --user install my-repo org.remmina.Remmina
- Launch Remmina
flatpak run org.remmina.Remmina
Several Remmina features are not enabled in Flatpak build:
-
SPICE USB redirection uses a small suid wrapper (
spice-client-glib-usb-acl-helper
) which is inhibited by Flatpakbubblewrap
sandboxing. Therefore, this feature is not enabled. -
Telepathy DBus activation would require some more files exported outside of Flatpak. Hence, Telepathy plugin is not compiled.
-
File transfers of some plugins (SFTP, SPICE drag and drop...) are limited to the files located in the user home directory (see below).
-
Remmina's Flatpak sandbox is configured to give access to the user home directory. You can share more folders or remove them by using the command
flatpak override --[no]filesystem=<folder>
. -
Because Xephyr version
1.17.0
and later don't work fine withGtkSocket
(see downstream and upstream bugs), Remmina's Flatpak bundles an out of date version of Xephyr (1.16.4
) for the XDMCP plugin.