1 2 3 4 5
#!/bin/bash . /etc/profile VIRTUAL_DISPLAY=":50" Xvfb_parm="$VIRTUAL_DISPLAY -screen 0 800x600x16" Xvfb $Xvfb_parm