Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #26213

    I am ejecuting the demo PHP application and I get the following error in stderr.txt file
    (.:4214): Gtk-WARNING **: cannot open display:

    What did I miss?

    Any help would be apreciated.



    Obviously you run PD4ML on Linux or UNIX platform.

    In the case make sure that -Djava.awt.headless=true JVM command-line parameter is set. The “headless” mode prevents Java from attempts to connect/use “display resources”. It is important for server environments: as a rule they do not assume any connected display hardware.


    Additional info: it seems GNU JDK 1.4.2 implementation does not respect
    -Djava.awt.headless=true setting and it makes PD4ML to fail.

    Possible solutions:

    • upgrade the JDK
    • change to Sun’s JDK
    • use xvfb daemon
Viewing 3 posts - 1 through 3 (of 3 total)

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