HTML to PDF / DOCX / RTF Java converter library Forums PD4ML v3 Archived Forums (Read Only) Troubleshooting "Can’t connect to X11 window server" UNIX/Linux exception

Viewing 1 post (of 1 total)
  • Author
  • #26174

    The issue may unveal itself as any other exception regarding GraphicsEnvironment or AWT.

    * The recommended solution is to run your application or servlet engine with -Djava.awt.headless=true given as parameter to the virtual machine. It is true only for JDK1.4 and above. Java 1.4 includes a new image I/O API that reportedly does not require an X server.

    * Install xvfb. It provides an X server emulator that can run on machines with no display hardware and no physical input devices.

Viewing 1 post (of 1 total)

The forum ‘Troubleshooting’ is closed to new topics and replies.