Welcome to yEd Q&A!
Here you can ask questions and receive answers from other members of the community and yEd developers. And you can tell us your most wanted feature requests.

Categories

Yed install error on debian 10

0 votes

Hi everyone.

I just move from debian 9 to 10 buster (amd64).

I want to use Yed like done on debian 9.

Installing the last Yed installer (yEd-3.19_with-JRE11_64-bit_setup.sh), i receive the following error message :

Could not display the GUI. This application needs access to an X Server.

Bellow, all messages received on the installation :

Unpacking JRE ...
Starting Installer ...
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
    at com.install4j.runtime.installer.Installer.getScreenExecutor(Installer.java:99)
    at com.install4j.runtime.installer.Installer.runInProcess(Installer.java:57)
    at com.install4j.runtime.installer.Installer.main(Installer.java:45)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:85)
    at com.install4j.runtime.launcher.UnixLauncher.main(UnixLauncher.java:62)
Caused by: java.lang.reflect.InvocationTargetException
    at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1367)
    at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1342)
    at java.desktop/javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1480)
    at com.install4j.runtime.installer.Installer.getScreenExecutor(Installer.java:92)
    ... 8 more
Caused by: java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
    at java.desktop/java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:208)
    at java.desktop/java.awt.Button.<init>(Button.java:153)
    at java.desktop/java.awt.Button.<init>(Button.java:140)
    at com.install4j.runtime.installer.frontend.WizardScreenExecutor.initAWT(WizardScreenExecutor.java:519)
    at com.install4j.runtime.installer.frontend.WizardScreenExecutor.<init>(WizardScreenExecutor.java:51)
    at com.install4j.runtime.installer.frontend.InstallerWizardScreenExecutor.<init>(InstallerWizardScreenExecutor.java:15)
    at com.install4j.runtime.installer.Installer$2.run(Installer.java:95)
    at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
    at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
    at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
    at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Could not display the GUI. This application needs access to an X Server.

Is there anyone met this problem too ?

Searching to fix the problem, I read debian passed from xorg to wayland in buster.

Could my problem be link to that ?

Thanks in advance for your help.

 

 

in Help by
edited by

2 Answers

0 votes

As the error message says, yEd and its installer scripts need an X server to run. Since you are running Wayland, you probably need to have XWayland (or any other X server for Wayland) running to install/run yEd.

by [yWorks] (161k points)
0 votes
Hi everyone.

I found the solution.

My mistake was to try installing the yEd-3.19_with-JRE11_64-bit_setup.sh from terminal.

i succed install it from nautilus in my own GUI session, after giving to the script the execute rights.

Thanks a lot for the helps
by
Legal Disclosure | Privacy Policy
...