Question: qualimap error:Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server using 'localhost:22.0' as the value of the DISPLAY variable.
0
gravatar for Nich
17 months ago by
Nich10
Nich10 wrote:

I encountered this error during the use of qualimap:

Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server using 'localhost:22.0' as the value of the DISPLAY variable.

I found the relevant solution on the official website of qualimap, but I don't know how to implement it.

Qualimap is a binary file with no parameters to receive java configuration during execution.

Qualimap.jar cannot be started using "java -jar qualimap.jar".

Can someone help me to look at it?

qualimap x11 • 637 views
ADD COMMENTlink modified 17 months ago by Pierre Lindenbaum133k • written 17 months ago by Nich10
0
gravatar for Pierre Lindenbaum
17 months ago by
France/Nantes/Institut du Thorax - INSERM UMR1087
Pierre Lindenbaum133k wrote:

use a X11-aware terminal. For example, if you're connecting to a server using ssh, use the '-X' option. https://unix.stackexchange.com/questions/12755

ADD COMMENTlink written 17 months ago by Pierre Lindenbaum133k

Thanks for your answer! Because I want to use qualimap in my pipline, I hope that qualimap can not display the graphical interface and run the complete process directly in the background. Is there a solution for this?

ADD REPLYlink modified 17 months ago • written 17 months ago by Nich10

Additionally it’s possible to use a special option of Java -Djava.awt.headless=true to disable display requirement.

Enabling this option can be performed by setting JAVA_OPTS variable in system or by changing java_options variable in the qualimap script:

java_options="-Djava.awt.headless=true -Xmx$JAVA_MEM_SIZE -XX:MaxPermSize=1024m"

ADD REPLYlink written 17 months ago by WouterDeCoster45k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 2521 users visited in the last hour
_