xclock works, X11 DISPLAY set but still java.awt.HeadlessException:
问题 Getting a java.awt.HeadlessException seems to be a pretty common issue and has been discussed in the. following questions: "No X11 DISPLAY variable" - what does it mean? Getting a HeadlessException: No X11 DISPLAY variable was set java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it The solutions suggest to