Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable https://blog.csdn.net/yfx000/article/details/86591945 JAVA_OPTS=-Djava.awt.headless=true