Description
Hello everyone,
I'm trying to get Cryptomator to work without X11 in my wayland (sway) session on Arch Linux. What i've tried so far:
- Installing from AUR
- building from source
- adding Djdk.gtk.version=2 as a JVM option
- Using java 8, 11 and 13
I'm almost certain at this point that this is a problem with JavaFX rather than with Cryptomator, but i want to be sure.
Is there anyone running this application exclusively with wayland and what are other options i could try?
System Setup
- Operating system and version: Arch Linux 5.2.18
- Cryptomator version: latest/git/1.5
Steps to Reproduce
- Use Wayland without XWayland
- Build the latest version of Cryptomator from source
- Execute the launcher script
Expected Behavior
Application starts and GUI opens
Actual Behavior
Application throws an exception and terminates
Reproducibility
always
Additional Information
Log:
-> ./launcher-linux.sh
00:10:16.074 [main] DEBUG org.cryptomator.common.Environment - java.library.path: /usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib
00:10:16.082 [main] DEBUG org.cryptomator.common.Environment - user.language: en
00:10:16.082 [main] DEBUG org.cryptomator.common.Environment - user.region: null
00:10:16.082 [main] DEBUG org.cryptomator.common.Environment - logback.configurationFile: null
00:10:16.082 [maa00:10:16.074 [main] DEBUG org.cryptomator.common.Environment - java.library.path: /usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib
00:10:16.082 [main] DEBUG org.cryptomator.common.Environment - user.language: en
00:10:16.082 [main] DEBUG org.cryptomator.common.Environment - user.region: null
00:10:16.082 [main] DEBUG org.cryptomator.common.Environment - logback.configurationFile: null
00:10:16.082 [main] DEBUG org.cryptomator.common.Environment - cryptomator.settingsPath: ~/.config/Cryptomator/settings.json
00:10:16.082 [main] DEBUG org.cryptomator.common.Environment - cryptomator.ipcPortPath: ~/.config/Cryptomator/ipcPort.bin
00:10:16.082 [main] DEBUG org.cryptomator.common.Environ00:11:34.739 [main] DEBUG org.cryptomator.common.Environment - java.library.path: /usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib
00:11:34.744 [main] DEBUG org.cryptomator.common.Environment - user.language: en
00:11:34.744 [main] DEBUG org.cryptomator.common.Environment - user.region: null
00:11:34.744 [main] DEBUG org.cryptomator.common.Environment - logback.configurationFile: null
00:11:34.744 [main] DEBUG org.cryptomator.common.Environment - cryptomator.settingsPath: ~/.config/Cryptomator/settings.json
00:11:34.745 [main] DEBUG org.cryptomator.common.Environment - cryptomator.ipcPortPath: ~/.config/Cryptomator/ipcPort.bin
00:11:34.745 [main] DEBUG org.cryptomator.common.Environment - cryptomator.keychainPath: null
00:11:34.745 [main] DEBUG org.cryptomator.common.Environment - cryptomator.logDir: ~/.local/share/Cryptomator/logs
00:11:34.745 [main] DEBUG org.cryptomator.common.Environment - cryptomator.mountPointsDir: ~/.local/share/Cryptomator/mnt
00:11:34.903 [main] DEBUG org.cryptomator.common.settings.SettingsProvider - Attempting to load settings from /home/xxxx/.config/Cryptomator/settings.json
00:11:35.035 [main] INFO org.cryptomator.launcher.Cryptomator - Starting Cryptomator 1.5.0-SNAPSHOT on Linux 5.2.18.a-2-hardened (amd64)
Exception in thread "main" java.awt.HeadlessException:
No X11 DISPLAY variable was set,
but this program performed an operation which requires it.
at java.desktop/java.awt.Desktop.getDesktop(Desktop.java:301)
at org.cryptomator.ui.launcher.UiLauncher.launch(UiLauncher.java:59)
at org.cryptomator.launcher.Cryptomator.runGuiApplication(Cryptomator.java:94)
at org.cryptomator.launcher.Cryptomator.run(Cryptomator.java:77)
at org.cryptomator.launcher.Cryptomator.main(Cryptomator.java:50)
Description
Hello everyone,
I'm trying to get Cryptomator to work without X11 in my wayland (sway) session on Arch Linux. What i've tried so far:
I'm almost certain at this point that this is a problem with JavaFX rather than with Cryptomator, but i want to be sure.
Is there anyone running this application exclusively with wayland and what are other options i could try?
System Setup
Steps to Reproduce
Expected Behavior
Application starts and GUI opens
Actual Behavior
Application throws an exception and terminates
Reproducibility
always
Additional Information
Log: