In company I use a licensed enterprise web app written in Java. So far I used it only on Windows. Not long ago I was able to install it on Ubuntu as well. Recently I discovered Fedora . And i try to move all my stuff on this distribution, including work stuff. When I try to install that app on Fedora, I get such an error :

enter image description here

  • Start the program with java -Djava.awt.headless=true yourprogram.jar – user34720 Jun 22 '17 at 16:35
  • its an installation file. with extension ".sh". – Şansal Birbaş Jun 22 '17 at 16:38
  • can you edit this .sh an look for where it can be the java execution? other option is to export an empty display environment variable BEFORE you execute it: export DISPLAY="" then run your .sh script – user34720 Jun 22 '17 at 16:39
  • Latter did not work. And when i open .sh file with gedit it gets locked. – Şansal Birbaş Jun 22 '17 at 16:46
  • 1
    It's an X11 error, so you'll either need to a) turn off Java's use of X11 b) make X11-from-root work or c) login as root to an X11 session. The chmod 777 * instructions from the install guide do not inspire any sort of confidence in the quality of this software, though. – thrig Jun 22 '17 at 17:34

It is a Wayand problem. So, I clicked the gear on the login screen, after I have clicked my username. Then I selected "Gnome on Xorg" option. Finally I provided my password and it started Xorg session. Installation worked.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.