Cryptomator doesnt start on Flatpak

System: GNU/Linux Fedora 42 wayland Hyprland
Flatpak Version: Flatpak 1.16.1
Cryptomator Version: 1.17.1
Installation: Install in the userspace with the --user flag.

Error:
Link: PrivateBin
Password: XxUFVmxj*9F*$XJu

(AI-Crawler Protection)

The -Djdk.gtk.version=2 also didn’t help.

I hope somebody can help me with me problem here, and thank you for everyone who takes a few minutes to read through this post.

The important excerpt from the log:

09:38:03.681 [main] ERROR o.cryptomator.launcher.Cryptomator - Terminating due to error
java.lang.UnsupportedOperationException: Unable to open DISPLAY
	at javafx.graphics@24.0.1/com.sun.glass.ui.gtk.GtkApplication.<init>(Unknown Source)
	at javafx.graphics@24.0.1/com.sun.glass.ui.gtk.GtkPlatformFactory.createApplication(Unknown Source)
	at javafx.graphics@24.0.1/com.sun.glass.ui.Application.run(Unknown Source)
	at javafx.graphics@24.0.1/com.sun.javafx.tk.quantum.QuantumToolkit.startup(Unknown Source)
	at javafx.graphics@24.0.1/com.sun.javafx.application.PlatformImpl.startup(Unknown Source)
	at javafx.graphics@24.0.1/com.sun.javafx.application.PlatformImpl.startup(Unknown Source)
	at javafx.graphics@24.0.1/com.sun.javafx.application.LauncherImpl.startToolkit(Unknown Source)
	at javafx.graphics@24.0.1/com.sun.javafx.application.LauncherImpl.launchApplication1(Unknown Source)
	at javafx.graphics@24.0.1/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$0(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)

Cryptomator requires a running display manager with an X server or the Xwayland compatiblity layer running. If both are missing, you cannot use the GUI app, but need to use the CLI.

As you can see from the logs below I run XWayland.

Link: PrivateBin
Password: XxUFVmxj*9F*$XJu

So what is the problem here? It has the Flatpak permission to use X11, Wayland and Fallback to X11.

I found the problem.

If you give a flatpak application permission to use X11, Wayland and fallback to X11 it won’t fallback to XWayland rather than just crashing.
If you remove Wayland and the fallback permission and only give the X11 permission it starts.

Working example:

But for whatever reason I’n not able to mount the decrypted volume. It just doesn’t show as an option.

Hi @Compactly6216

I’m downloading Fedora 42 now and will attempt an install and see what happens see if I can duplicate your problem.

Hi again @Compactly6216

I successfully installed Fedora 42 desktop into a VMware professional virtual machine and updated all the software so I have the same flat pack version that you have and the same version of the software that you have and I created a new Vault and put some files in it unlocked it relocked it did everything I could think of and it’s working normally and it’s a standard install of the OS and cryptomator.

Wayland is my wm.

1 Like

As mentioned from @infeo, cryptomator is built to run on X11.org.
If you use wayland WITHOUT XWayland it will fail.
So its pretty likely you run XWayland in the background.

My problem was that it didn’t use XWayland when I gave it the permission to use Wayland and X11. Only when I removed the permission to use Wayland it successfully worked with XWayland.

Now with that being solved another issue shows up.
Cryptomator decrypt the Vault, but doesn’t mount it nor reveals the drive. It just gives me an address for the local WEBDav. While Fuse3 is installed there is no option for the local mounting.

Hi, @Compactly6216

Are you using webdav to connect to your vault?

Ive been doing local vault.

I will try webdav.

OR are you using webdav as The Vault file system type? Rather than using fuse? When I do this it lets me copy a URI to where the vault is as opposed to a mount location and then I followed instructions on chat GPT to mount the web dev URL and it works fine let me know if you need the instructions.

Are you seeing this box? If so, I have the answer for you cause I got it to mount.

Here are the mounting instructions that worked for me.

Crytomator only offers the FUSE volume type, if the command fusermount3 is present on the system and returns with a value of 0.

H @infeo Ok i will check but I definitely had the option to select webdav otherwise I wouldn’t have the web dev URL to click on to open vault .

I can open the webdav vault.

The command fusermount3 returns
Missing mount point argument.

Here is a pic of my choices:

Hello world.
Since (maybe…?) the last update, I have the same issue running the FlatPak on SecureBlue (Fedora based for anyone who doesn’t know), only with showing Java25. I initially thought it might be missing Java25, but … is it a window management issue? The same settings given here as the solution don’t work for me, it doesn’t change the error.

What else could I try?

Cheers,
Jen

Hello Jen and welcome to the Cryptomator Community,

If you receive exactly this error message, this has two causes:

If not, you might need to look in a different or new thread for a solution.

1 Like

In case anyone reads this and encounters the same issue - on SecureBlue, xwayland is disabled by default. Enabling it allows Cryptomator to run.