support xvfb headless functional test