I have the same probleme, I try to use Xvfb with tomcat4 for generating images on the fly.
I have the same probleme as you :
AUDIT: Sat Dec 14 20:31:57 2002: 12261 Xvfb: client 1 rejected from local host
I tried to make a file /etc/X0.hosts containing localhost but it doesnt worked
Can someone help me soon....
my email = email@example.com