I have Ubuntu 11.04 I am trying to install Xvfb and CutyCapt in order to take a snapshot of webpage I followed a instruction https://github.com/jaequery/cutycapt-installer-scri
Run xvfb-run -e /dev/stdout [mycommand] as @wumpus suggested.
xvfb-run -e /dev/stdout [mycommand]
I received the server lock message:
Fatal server error: Could not create server lock file: /tmp/.X99-lock xvfb-run: error: Xvfb failed to start
Using sudo resolved the issue for me:
sudo
sudo xvfb-run -e /dev/stdout [mycommand]