Skip to content

Instantly share code, notes, and snippets.

@otaviomedeiros
Last active March 3, 2017 13:11
Show Gist options
  • Save otaviomedeiros/11228626 to your computer and use it in GitHub Desktop.
Save otaviomedeiros/11228626 to your computer and use it in GitHub Desktop.
Xvfb
# x server
Xvfb :1 -screen 0 1024x768x24 &
# seta display para o firefox achar o xvfb
export DISPLAY=:1 # export to /etc/profile
# mostra o processo
jobs
# mata o processo
kill -9 %1
pidof Xvfb
# lock do xvfb
ls -las /tmp/
# mostra a porta que o xserver esta rodando
netstat -ln
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment