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

I had the same issue on the Linux server I was working on. Connecting java to a X11 display worked on the head node, but not on any other. After contacting the administrator, it turned out that the current version of our job-scheduling system (SLURM) did not support X11 forwarding. They had to update SLURM (newer versions of SLURM support it) for it to work.

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?