Cryptomator is not Mounting nor Loading on Linux

Running Debian Bookwork Linux machine with KDE as desktop environment.

Cyrptomator would launch yet no mounting is happening. Nor I am able to open any Cryptomator window when chossing so via the icon tray.

That happens with both the Appimage and deb packages.

I am not sure what is causing this issue on one of the machines, and would appreciate any solution for this issue thus I can mount Cryptomator.

Thank you

0:03:42.307 [JavaFX Application Thread] ERROR o.c.ui.fxapp.FxApplicationWindows - Failed to display stage
java.util.concurrent.CompletionException: java.lang.NoClassDefFoundError: Could not initialize class de.swiesend.secretservice.simple.SimpleCollection
        at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(Unknown Source)
        at java.base/java.util.concurrent.CompletableFuture.completeThrowable(Unknown Source)
        at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(Unknown Source)
        at javafx.graphics@20.0.2/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(Unknown Source)
        at java.base/java.security.AccessController.doPrivileged(Unknown Source)
        at javafx.graphics@20.0.2/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(Unknown Source)
        at javafx.graphics@20.0.2/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
        at javafx.graphics@20.0.2/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
        at javafx.graphics@20.0.2/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class de.swiesend.secretservice.simple.SimpleCollection
        at org.cryptomator.integrations.linux@1.4.0-beta2/org.cryptomator.linux.keychain.SecretServiceKeychainAccess.isSupported(SecretServiceKeychainAccess.java:28)
        at java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
        at java.base/java.util.stream.ReferencePipeline$15$1.accept(Unknown Source)
        at java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
        at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
        at java.base/java.util.ArrayList.forEach(Unknown Source)
        at java.base/java.util.stream.SortedOps$RefSortingSink.end(Unknown Source)
        at java.base/java.util.stream.Sink$ChainedReference.end(Unknown Source)
        at java.base/java.util.stream.Sink$ChainedReference.end(Unknown Source)
        at java.base/java.util.stream.Sink$ChainedReference.end(Unknown Source)
        at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
        at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
        at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
        at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(Unknown Source)
        at java.base/java.util.stream.ReferencePipeline.toArray(Unknown Source)
        at java.base/java.util.stream.ReferencePipeline.toArray(Unknown Source)
        at java.base/java.util.stream.ReferencePipeline.toList(Unknown Source)
        at org.cryptomator.desktop@1.11.0/org.cryptomator.common.keychain.KeychainModule.provideSupportedKeychainAccessProviders(KeychainModule.java:19)
        at org.cryptomator.desktop@1.11.0/org.cryptomator.common.keychain.KeychainModule_ProvideSupportedKeychainAccessProvidersFactory.provideSupportedKeychainAccessProviders(KeychainModule_ProvideSupportedKeychainAccessProvidersFactory.java:29)
        at org.cryptomator.desktop@1.11.0/org.cryptomator.launcher.DaggerCryptomatorComponent$CryptomatorComponentImpl$SwitchingProvider.get(DaggerCryptomatorComponent.java:9206)
        at dagger@2.48.1/dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
        at org.cryptomator.desktop@1.11.0/org.cryptomator.launcher.DaggerCryptomatorComponent$CryptomatorComponentImpl$SwitchingProvider.get(DaggerCryptomatorComponent.java:9201)
        at dagger@2.48.1/dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
        at org.cryptomator.desktop@1.11.0/org.cryptomator.launcher.DaggerCryptomatorComponent$CryptomatorComponentImpl$SwitchingProvider.get(DaggerCryptomatorComponent.java:9195)
        at dagger@2.48.1/dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
        at org.cryptomator.desktop@1.11.0/org.cryptomator.launcher.DaggerCryptomatorComponent$MainWindowComponentImpl$SwitchingProvider.get(DaggerCryptomatorComponent.java:3139)
        at dagger@2.48.1/dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
        at org.cryptomator.desktop@1.11.0/org.cryptomator.ui.common.FxmlLoaderFactory.constructController(FxmlLoaderFactory.java:78)
        at javafx.fxml@20.0.2/javafx.fxml.FXMLLoader$ValueElement.processAttribute(Unknown Source)
        at javafx.fxml@20.0.2/javafx.fxml.FXMLLoader$InstanceDeclarationElement.processAttribute(Unknown Source)
        at javafx.fxml@20.0.2/javafx.fxml.FXMLLoader$Element.processStartElement(Unknown Source)
        at javafx.fxml@20.0.2/javafx.fxml.FXMLLoader$ValueElement.processStartElement(Unknown Source)
        at javafx.fxml@20.0.2/javafx.fxml.FXMLLoader.processStartElement(Unknown Source)
        at javafx.fxml@20.0.2/javafx.fxml.FXMLLoader.loadImpl(Unknown Source)
        at javafx.fxml@20.0.2/javafx.fxml.FXMLLoader.loadImpl(Unknown Source)
        at javafx.fxml@20.0.2/javafx.fxml.FXMLLoader$IncludeElement.constructValue(Unknown Source)
        at javafx.fxml@20.0.2/javafx.fxml.FXMLLoader$ValueElement.processStartElement(Unknown Source)
        at javafx.fxml@20.0.2/javafx.fxml.FXMLLoader.processStartElement(Unknown Source)
        at javafx.fxml@20.0.2/javafx.fxml.FXMLLoader.loadImpl(Unknown Source)
        at javafx.fxml@20.0.2/javafx.fxml.FXMLLoader.loadImpl(Unknown Source)
        at javafx.fxml@20.0.2/javafx.fxml.FXMLLoader$IncludeElement.constructValue(Unknown Source)
        at javafx.fxml@20.0.2/javafx.fxml.FXMLLoader$ValueElement.processStartElement(Unknown Source)
        at javafx.fxml@20.0.2/javafx.fxml.FXMLLoader.processStartElement(Unknown Source)
        at javafx.fxml@20.0.2/javafx.fxml.FXMLLoader.loadImpl(Unknown Source)
        at javafx.fxml@20.0.2/javafx.fxml.FXMLLoader.loadImpl(Unknown Source)
        at javafx.fxml@20.0.2/javafx.fxml.FXMLLoader.load(Unknown Source)
        at org.cryptomator.desktop@1.11.0/org.cryptomator.ui.common.FxmlLoaderFactory.load(FxmlLoaderFactory.java:46)
        at org.cryptomator.desktop@1.11.0/org.cryptomator.ui.common.FxmlLoaderFactory.createScene(FxmlLoaderFactory.java:63)
        at org.cryptomator.desktop@1.11.0/org.cryptomator.ui.common.FxmlLoaderFactory.createScene(FxmlLoaderFactory.java:51)
        at org.cryptomator.desktop@1.11.0/org.cryptomator.ui.mainwindow.MainWindowModule.provideMainScene(MainWindowModule.java:78)
        at org.cryptomator.desktop@1.11.0/org.cryptomator.ui.mainwindow.MainWindowModule_ProvideMainSceneFactory.provideMainScene(MainWindowModule_ProvideMainSceneFactory.java:38)
        at org.cryptomator.desktop@1.11.0/org.cryptomator.launcher.DaggerCryptomatorComponent$MainWindowComponentImpl$SwitchingProvider.get(DaggerCryptomatorComponent.java:3072)
        at dagger@2.48.1/dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
        at org.cryptomator.desktop@1.11.0/org.cryptomator.ui.mainwindow.MainWindowComponent.showMainWindow(MainWindowComponent.java:28)
        ... 8 common frames omitted
Caused by: java.lang.ExceptionInInitializerError: Exception org.freedesktop.dbus.exceptions.AddressResolvingException: Cannot Resolve Session Bus Address: MachineId file can not be found [in thread "JavaFX Application Thread"]
        at org.freedesktop.dbus@4.3.0/org.freedesktop.dbus.utils.AddressBuilder.getDbusMachineId(AddressBuilder.java:133)
        at org.freedesktop.dbus@4.3.0/org.freedesktop.dbus.connections.impl.DBusConnectionBuilder.forSessionBus(DBusConnectionBuilder.java:44)
        at org.freedesktop.dbus@4.3.0/org.freedesktop.dbus.connections.impl.DBusConnectionBuilder.forSessionBus(DBusConnectionBuilder.java:65)
        at de.swiesend.secretservice@2.0.0-alpha/de.swiesend.secretservice.simple.SimpleCollection.getConnection(SimpleCollection.java:140)
        at de.swiesend.secretservice@2.0.0-alpha/de.swiesend.secretservice.simple.SimpleCollection.<clinit>(SimpleCollection.java:40)
        ... 62 common frames omitted


                     

Indeed, Flatpack CryptoMator package did not launch, as the .deb package, and the AppImage.

I had tried installing cryptomator .dev package via gdebi command, and this installed the required dependencies:

sudo gdebi ./cryptomator_1.11.1-0ppa1_amd64.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Reading state information... Done
Requires the installation of the following packages: libgail-common libgail18 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common 

Multi-platform client-side encryption of your cloud files.
 Cryptomator provides free client-side AES encryption for your cloud files.
 Create encrypted vaults, which get mounted as virtual volumes. Whatever
 you save on one of these volumes will end up encrypted inside your vault.
Do you want to install the software package? [y/N]:y
/usr/bin/gdebi:113: FutureWarning: Possible nested set at position 1
  c = findall("[[(](\S+)/\S+[])]", msg)[0].lower()
Get:1 https://deb.debian.org/debian bookworm/main amd64 libgtk2.0-common all 2.24.33-2 [2700 kB]                                          
Get:2 https://deb.debian.org/debian bookworm/main amd64 libgtk2.0-0 amd64 2.24.33-2 [1855 kB]                                             
Get:3 https://deb.debian.org/debian bookworm/main amd64 libgail18 amd64 2.24.33-2 [57.7 kB]                                               
Get:4 https://deb.debian.org/debian bookworm/main amd64 libgail-common amd64 2.24.33-2 [160 kB]                                           
Get:5 https://deb.debian.org/debian bookworm/main amd64 libgtk2.0-bin amd64 2.24.33-2 [50.7 kB]                                           
Fetched 4824 kB in 0s (0 B/s)                                                                                                             
Selecting previously unselected package libgtk2.0-common.
(Reading database ... 440860 files and directories currently installed.)
Preparing to unpack .../libgtk2.0-common_2.24.33-2_all.deb ...
Unpacking libgtk2.0-common (2.24.33-2) ...
Selecting previously unselected package libgtk2.0-0:amd64.
Preparing to unpack .../libgtk2.0-0_2.24.33-2_amd64.deb ...
Unpacking libgtk2.0-0:amd64 (2.24.33-2) ...
Selecting previously unselected package libgail18:amd64.
Preparing to unpack .../libgail18_2.24.33-2_amd64.deb ...
Unpacking libgail18:amd64 (2.24.33-2) ...
Selecting previously unselected package libgail-common:amd64.
Preparing to unpack .../libgail-common_2.24.33-2_amd64.deb ...
Unpacking libgail-common:amd64 (2.24.33-2) ...
Selecting previously unselected package libgtk2.0-bin.
Preparing to unpack .../libgtk2.0-bin_2.24.33-2_amd64.deb ...
Unpacking libgtk2.0-bin (2.24.33-2) ...
Setting up libgtk2.0-common (2.24.33-2) ...
Setting up libgtk2.0-0:amd64 (2.24.33-2) ...
Setting up libgail18:amd64 (2.24.33-2) ...
Setting up libgtk2.0-bin (2.24.33-2) ...
Setting up libgail-common:amd64 (2.24.33-2) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for libc-bin (2.36-9+deb12u3) ...
Scanning processes...                                                                                                                      
Scanning processor microcode...      
............................                     

Reinstalled KDE Plasma on Debian, after removing other Desktop Environments. And the same with plasma-deskop

Reinstalled JDK via aptitude, to verify there are no missing dependencies .

sudo aptitude -f install default-jdk
sudo aptitude -f install default-jre
sudo aptitude -f install libgtk2.0
sudo aptitude -f install libgtk-3-dev
sudo aptitude -f install libgtk2.0-0
sudo aptitude -f install libatspi2.0-dev
sudo aptitude -f install qtbase5-dev
sudo aptitude -f install qt5-default
sudo aptitude -f install qtchooser
sudo aptitude -f install qt5-qmake
sudo aptitude -f install qtbase5-dev-tools

I tried to change the settings of CryptoMator:

home/user/.config/Cyptomator/settings.json

{
  "directories" : [ ],
  "writtenByVersion" : "1.11.1-appimage-4989",
  "askedForUpdateCheck" : true,
  "autoCloseVaults" : false,
  "checkForUpdatesEnabled" : true,
  "debugMode" : true,
  "theme" : "DARK",
  "keychainProvider" : "org.cryptomator.linux.keychain.SecretServiceKeychainAccess",
  "numTrayNotifications" : 3,
  "port" : 42427,
  "showMinimizeButton" : true,
  "showTrayIcon" : true,
  "startHidden" : false,
  "uiOrientation" : "LEFT_TO_RIGHT",
  "useKeychain" : true,
  "windowHeight" : 0,
  "windowWidth" : 0,
  "windowXPosition" : 0,
  "windowYPosition" : 0,
  "lastUpdateCheck" : "2024-01-02"
}

And CryptoMator won’t launch on screen… no avail…

Is there a way to verify what else I am missing to have CryptoMator launch fully?

I do have a second machine, a Debian running PC, and I don’t have this issue with it. What do I need to compare between both machines?

Thank you

The problem lies in a library used by Cryptomator, this must be fixed on our side.

But you might be able to workaround the root issue:

Cannot Resolve Session Bus Address: MachineId file can not be found 

The library cannot read the machine id file. It either does not exist or is not accessible by Cryptomator. Common locations are “/var/lib/dbus/machine-id”, “/usr/local/var/lib/dbus/machine-id” or “/etc/machine-id”.