<p></p>
<h3>Description</h3>
<p>Bisq fails to start on an Xfce-based recent Debian.</p>
<h4>Version</h4>
<p>1.3.9</p>
<h3>Steps to reproduce</h3>
<p>Download the deb package for Bisq v1.3.9</p>
<p>Install it on Debian 10.5 with Xfce</p>
<p>Attempt to start it via <code>/opt/Bisq/Bisq</code></p>
<h3>Expected behaviour</h3>
<p>Bisq starts successfuly</p>
<h3>Actual behaviour</h3>
<p>Bisq fails to start</p>
<h3>Screenshots</h3>
<pre><code>root@debian:/# /opt/Bisq/Bisq
Sep-17 22:30:58.599 [main] INFO  bisq.core.setup.CoreSetup: 


Log files under: /root/.local/share/Bisq/bisq 
Sep-17 22:30:58.608 [main] INFO  bisq.common.util.Utilities: System info: os.name=Linux; os.version=4.19.0-10-amd64; os.arch=amd64; sun.arch.data.model=64; JRE=10.0.2+13 (Oracle Corporation); JVM=10.0.2+13 (Java HotSpot(TM) 64-Bit Server VM) 
Sep-17 22:30:58.610 [main] INFO  b.c.s.CoreNetworkCapabilities: Set Capability.RECEIVE_BSQ_BLOCK 
Sep-17 22:30:58.713 [main] INFO  bisq.common.app.Version: Version{VERSION=1.3.9, P2P_NETWORK_VERSION=1, LOCAL_DB_VERSION=1, TRADE_PROTOCOL_VERSION=2, BASE_CURRENCY_NETWORK=0, getP2PNetworkId()=10} 
Sep-17 22:30:58.714 [main] INFO  bisq.core.setup.CoreSetup: Path to Bisq jar file: /opt/Bisq/app/desktop-1.3.9-all.jar 
Exception in thread "main" java.lang.UnsupportedOperationException: Unable to open DISPLAY
        at javafx.graphics/com.sun.glass.ui.gtk.GtkApplication.lambda$new$6(GtkApplication.java:173)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at javafx.graphics/com.sun.glass.ui.gtk.GtkApplication.<init>(GtkApplication.java:171)
        at javafx.graphics/com.sun.glass.ui.gtk.GtkPlatformFactory.createApplication(GtkPlatformFactory.java:41)
        at javafx.graphics/com.sun.glass.ui.Application.run(Application.java:146)
        at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:257)
        at javafx.graphics/com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:255)
        at javafx.graphics/com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:154)
        at javafx.graphics/com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:731)
        at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:751)
        at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:198)
        at java.base/java.lang.Thread.run(Thread.java:844)
Bisq Failed to launch JVM
</code></pre>
<h4>Device or machine</h4>
<p>Debian 10.5 with Xfce</p>
<p>(Would probably also happen with KDE or other non-GNOME setups)</p>
<h4>Additional info</h4>
<p>The issue seems to be that Bisq / JavaFX expect a GTK environment</p>
<blockquote>
<p>Exception in thread "main" java.lang.UnsupportedOperationException: Unable to open DISPLAY<br>
at javafx.graphics/com.sun.glass.ui.gtk.GtkApplication.lambda$new$6(GtkApplication.java:173)</p>
</blockquote>
<p>However this was an Xfce environment.</p>
<h4>Suggested solution</h4>
<p>Bisq should inform the user why its failing to start with a more informative message, like:</p>
<blockquote>
<p>"Bisq cannot start because it found an incompatible UI environment on this Linux system. Please install the GNOME desktop environment and try again."</p>
</blockquote>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/issues/4535">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNWZATGK4MCVYQE7M3TSGJY4NANCNFSM4RQ7VDSA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNVP2S5K27OH32J6JKDSGJY4NA5CNFSM4RQ7VDSKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4KPUVPLA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/issues/4535",
"url": "https://github.com/bisq-network/bisq/issues/4535",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>