I am new to OpenBD and in fact am new to cfml altogether. I have tried
the example given at "http://wiki.openbluedragon.org/wiki/index.php/
CFCAPTCHA":
<cfcaptcha border="size of border"
style="value of style attribute of HTML img tag"
width="width of CAPTCHA image"
height="height of CAPTCHA image"
displaystring="string to use for CAPTCHA image">
I have tried it in two different formats:
<cfcaptcha width="200" height="40" border="1"
displaystring="OpenBlueDragon">
<cfcaptcha border="2"
width="400"
height="80"
displaystring="CFCaptcha">
All I see rendered on the page is a broken image (placeholder with no
image).
In my logs I see this:
Could not initialize class sun.awt.X11GraphicsEnvironment
I know that this is cause by using the "-Djava.awt.headless=true".
Next I removed that from the tomcat startup options and try to export
DISPLAY (:0.0), but then I get this:
java.lang.InternalError: Can't connect to X11 window server using ':
0.0' as the value of the DISPLAY variable.
and the same broken image!
My first question is, why should my server have to open a display to
this tag?
and if in fact I must allow it then how do I resolve the next issue
(Can't connect to X11)?
--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
http://groups.google.com/group/openbd?hl=en
official site @ http://www.openbluedragon.org/
!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---