This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

x11 unable to open display

Hello, I am working with am335x development kit and trying to execute an java applet in the terminal, but the follow message is show when i try execute the applet:

"Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using 'localhost:0.0' as the value of the DISPLAY vari."

I installed xdm and tried other x11 packages, configured the environment variable DISPLAY=localhost:0.0 and the problem continues.

how can I proceed to install and configure correctly a X11 server in linux to am335x development kit?

thanks in advanced.