1. 程式人生 > >xvfb-run: error: xauth command not found 解決方式

xvfb-run: error: xauth command not found 解決方式

http com IT erro then and found cpp run

http://tokanao.com/blog/2016/07/13/blog.html

錯誤提示

array(2) { 
    [0]=> string(27) "which: no xauth in ((null))"
    [1]=> string(40) "xvfb-run: error: xauth command not found"
}

  

解決方式

$ vi /usr/bin/xvfb-run

  -if ! which xauth >/dev/null; then
  -    error "xauth command not found"
  -    exit 3
  -fi
  +#if ! which xauth >/dev/null; then
  +#    error "xauth command not found"
  +#    exit 3
  +#fi

  

xvfb-run: error: xauth command not found 解決方式