[java] Java Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable

the only way i got it to work was running the script with a template. e.g. sudo ./glassfish-3.1.2.2-unix.sh -s template

This installs Glassfish in Silent Mode. http://docs.oracle.com/cd/E18930_01/html/821-2427/ghmva.html

Examples related to java

Under what circumstances can I call findViewById with an Options Menu / Action Bar item? How much should a function trust another function How to implement a simple scenario the OO way Two constructors How do I get some variable from another class in Java? this in equals method How to split a string in two and store it in a field How to do perspective fixing? String index out of range: 4 My eclipse won't open, i download the bundle pack it keeps saying error log

Examples related to linux

grep's at sign caught as whitespace How to prevent Google Colab from disconnecting? "E: Unable to locate package python-pip" on Ubuntu 18.04 How to upgrade Python version to 3.7? Install Qt on Ubuntu Get first line of a shell command's output Cannot connect to the Docker daemon at unix:/var/run/docker.sock. Is the docker daemon running? Run bash command on jenkins pipeline How to uninstall an older PHP version from centOS7 How to update-alternatives to Python 3 without breaking apt?

Examples related to x11

Forward X11 failed: Network error: Connection refused Can you run GUI applications in a Docker container? how to add the missing RANDR extension Webdriver Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms Error: cannot open display: localhost:0.0 - trying to open Firefox from CentOS 6.2 64bit and display on Win7 Java Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable How can I specify a display? "No X11 DISPLAY variable" - what does it mean? How to check if X server is running?

Examples related to xserver

Java Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable wkhtmltopdf: cannot connect to X server How to check if X server is running?