qualimap reported java.awt.AWTError: Can't connect to X11 window server
1
0
Entering edit mode
5.8 years ago
Yingzi Zhang ▴ 90

Hi biostars!

I was using qualimap to evaluate bam files. The code I used was qualimap --java-mem-size=700G multi-bamqc -r -d <mapfile1> -gff <genomic.gff> -outdir <multi_bamqc> -outformat PDF:HTML The error reported like this: Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.

I guessed it was because that our server was not with X11 installed. So I removed the HTML choice. The code changed into qualimap --java-mem-size=700G multi-bamqc -r -d <mapfile1> -gff <genomic.gff> -outdir <multi_bamqc> -outformat PDF However, it still reported the same error. what should be the reason please? If it was because of the absence of X11, is it necessary for me to install X11? (I try to avoid this situation for some reason...) Thank you.

Yingzi

software error • 5.1k views
ADD COMMENT
1
Entering edit mode

Set -Djava.awt.headless=true (or System.setProperty("java.awt.headless", "true");

ADD REPLY
0
Entering edit mode

thank you. I learned that your code is to guide the server in a headless mode. I tried them and it reported either "command not found" or “syntax error near unexpected token `"java.awt.headless"'. I am still trying.

ADD REPLY
4
Entering edit mode
5.8 years ago
GenoMax 141k

You can find detailed instructions to address this here.

Edit: Link updated based on response from opplatek below.

ADD COMMENT
0
Entering edit mode

Problem solved with the guide of instructions. Thank you biostars. Thank you all.

ADD REPLY
0
Entering edit mode

The link is no longer active. Here is an updated link for the same thing.

ADD REPLY

Login before adding your answer.

Traffic: 3221 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6