Linux下Tomcat启动报错Can't connect to X11 window server


java.lang.InternalError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.


处理方法:

1 如果以init 5的级别启动REHL 5.5系统,再启动tomcat,在客户端浏览器上查看jfreechart图形,图形显示正常;

2 如果以init 3的级别启动RHEL 5.5系统,再启动tomcat,在客户端浏览器上查看jfreechart图形,图形显示为小红叉;



参考文章:http://blog.csdn.net/oooooooooooooaaa/article/details/6041359