This is perhaps a bit awkward problem, and I am not too confident that
someone can provide an answer.

The Java VM (this is not a Java releated question per se) needs the X
Windows server (I don't know which part) to do any kind of graphical
manipulations, including generating GIF and JPG files. I have set the
DISPLAY=:0.0 for this.

I have a servlet, that is a Java extension of a web server, that uses
this to create Charting images to be sent back to the client.

If I put Linux to boot with runlevel 5 (RedHat 6.1=X windows) it will
boot all the way to the graphical login.

If I at this point access the servlet, i.e it creates a GIF chart, over
the Web, it will not be able to connect to the X server, and fails.
If I login, and do the same thing, everything works fine. If I after
that logout, again it will fail.

Since these systems don't have a user, and are rebooted without human
intervention, is there any way to get X Windows to accept connections
prior to the login?
Should I perhaps not use the runlevel to go to graphic login, and
somehow start X without window manager in the boot sequence, and modify
the script 'startx' and its related scripts?
Or could it be that I should use another DISPLAY setting, indicating
some kind of virtual display, since the actual one is not really
available?

Any suggestions are welcome.




-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to