Thanks jschiwal for your timely reply..
Yes. I'm using TestNG to test server. I have used selenium (wrapped inside testNG) to do UI Testing on web pages residing in the same machine.. i mean, both selenium server and the website being tested are residing in the same machine (localhost).
As u said the default screen's depth is 8. I suspect this is not good enough to run firefox.
http://mojo.codehaus.org/selenium-ma...with-xvfb.html
In the above link, they have explained to use external display in the Xvfb configuration. but, when we create the screen at command prompt and give that display no in the Xvfb configuration and while build it, it shows error like " display no is already in use ".