X problem again
Hi,
I am trying to run a web application that uses some graphical interface (www.jfree.org) to generate a graph on "Linux test.bb.com 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386 GNU/Linux". Getting this error: Can't connect to X11 window server using 'localhost:0.0' as the value of the DISPLAY variable. Code:
java.lang.InternalError: Can't connect to X11 window server using 'localhost:0.0' as the value of the DISPLAY variable. I also tried logging as root and running "xhost +" (and xhost +localhost) but getting Unable to open display. I saw an error message when I rebooted the box "test login: Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list". Is this a source of my problem? I also checked if xfs was running and yes it is actually Code:
[root@test root]# ps waux | grep xfs |
Are you running the application as the same user that's logged in to X? You need to.
The font error message from when you reboot is not important, ignore it. |
app started with Putty
Hmm, not sure if I got it correctly, but the box is started and nobody is logged in. The web application is started via putty. The webapplication is actually resin. If you are asking if resin was started by root, yes the it is running as root user because it is listening to port 80.
|
Looks like Xvfb is running too:
Code:
[root@test root]# ps waux | grep Xvfb |
I fixed the problem on resin, the solution was to pass -Djava.awt.headless=true argument.
|
Quote:
|
All times are GMT -5. The time now is 12:16 PM. |