bool(false) When using putty, SecureCRT, SSH to start SuperMap iServer 7C or SuperMap iPortal 7C service on Linux, such error as "Could not initialize class sun.awt.X11GraphicsEnvironment” or “System environment checking failed” appear on the front page. But it works well when starting service locally. Why? - FAQ - SuperMap

Q: When using putty, SecureCRT, SSH to start SuperMap iServer 7C or SuperMap iPortal 7C service on Linux, such error as "Could not initialize class sun.awt.X11GraphicsEnvironment” or “System environment checking failed” appear on the front page. But it works well when starting service locally. Why?

A. When remotely starting SuperMap iServer 7C and SuperMap iPortal 7C, you need to first login the Linux server and run the command below:

(1) X:n&      Start XServer on the n-th screen. n is any integer, e.g. 22, 30.

(2) export DISPLAY=:n.0      Set DISPLAY variable to the XServer of the local machine, and restart the service.


04 Jul,2019
Tags:iserver

More iServer FAQ