Created
March 6, 2012 05:53
-
-
Save stomita/1983913 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if ! [ -e $HOME/.root/tmp/.X1-lock ]; then | |
echo "X server not started. Starting..." | |
fakesu -c "Xvfb :1 -screen 0 1024x768x24 -nolisten tcp -shmem" & | |
fi | |
fakesu -c "phantomexec.sh $PWD $@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment