Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

'java.lang.InternalError' error while Opening Section



'java.lang.InternalError' is encountered while opening a section.

Error Messages

java.lang.InternalError: Can't connect to X11 window server using '' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.access$100(
at sun.awt.X11GraphicsEnvironment$

Steps to Reproduce

1. Open Any portal.
2. Open Section built in portal

Root Cause

The root cause of this problem is misconfiguration in the PRPC operating environment.


This issue is resolved through the following local change:

Add the setting: -Djava.awt.headless=true along with JAVA_OPTS parameter.

1. Open run.conf in text editor. This file can be found in:<JBOSS_HOME>\bin\run.con
2. Modify the JAVA_OPTS env variable
Add -Djava.awt.headless=true along with JVM memory values.


Published January 31, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us