
Install Xvfb
run:
Xvfb :1 -screen 0 1024x768x16
export DISPLAY=localhost@1:0
More Info: http://javaboutique.internet.com/tutorials/captcha/index-2.html
apt-get install xvfb
apt-get install xfonts-base
apt-get install XFree86-fonts-100dpi
apt-get install xfonts-100dpi xfonts-75dpi
apt-get install xfonts-cyrillic
apt-get install xfonts-scalable
apt-get install xfonts-cronyx-misc
apt-get install libfreetype6
apt-get install libxext6
apt-get install libxtst6
apt-get install libXi6
Change
/etc/init.d/tomcat5.5
setting headless to false and adding:
export DISPLAY=:1.0
Configure Xvfb to start on rc.3: http://curiositydriven.com/2007/10/09/starting-an-x-virtual-framebuffer-on-boot /
Priki works only with UTF-8 URIs.
Change the properties catalina.sh adding in JAVA_OPTS
-Dfile.encoding=UTF-8
Change server.xml. In the Connector tag, add
URIEncoding="utf-8" useBodyEncodingForURI="true"
If you are using Apache Webserver and JK, open apache2.conf and set:
JkOptions +ForwardURICompatUnparsed
Copyright © 2007 Priki | Todos os direitos reservados
Powered by Priki e design G. Wolfgang