A fun one to be sure. Recently a few runs of the pipeline failed to run qualimap giving the following error
Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server using 'localhost:37.0' as the value of the DISPLAY variable.
As background X11 is the GUI display engine used for linux displays, think the desktop or remote interfaces. A quick check and qualimap notes in their general information to unset the DISPLAY environment variable when using it on linux systems to prevent X11 issues when not using the tool with a display. The problem can easily be fixed using this recommendation from qualimap http://qualimap.conesalab.org/doc_html/faq.html#x11problem .
This isn't a consistent issue so my guess is that some combination of an X11 connection issue on a node for a specific user account running the pipeline caused X11 server access to be unreachable for a period of time and the issue reared it's ugly head.
Regardless, the fix is relatively easy and painless.
Copied from: https://gitlab.rc.uab.edu/center-for-computational-genomics-and-data-science/sciops/pipelines/small_variant_caller_pipeline/-/issues/42
A fun one to be sure. Recently a few runs of the pipeline failed to run qualimap giving the following error
Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server using 'localhost:37.0' as the value of the DISPLAY variable.
As background
X11
is the GUI display engine used for linux displays, think the desktop or remote interfaces. A quick check and qualimap notes in their general information to unset theDISPLAY
environment variable when using it on linux systems to prevent X11 issues when not using the tool with a display. The problem can easily be fixed using this recommendation from qualimap http://qualimap.conesalab.org/doc_html/faq.html#x11problem .This isn't a consistent issue so my guess is that some combination of an X11 connection issue on a node for a specific user account running the pipeline caused X11 server access to be unreachable for a period of time and the issue reared it's ugly head.
Regardless, the fix is relatively easy and painless.