Xvfb failed start error

前端 未结 4 1698
忘掉有多难
忘掉有多难 2021-01-30 12:41

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

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-30 12:53

    Run xvfb-run -e /dev/stdout [mycommand] as @wumpus suggested.

    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 xvfb-run -e /dev/stdout [mycommand]
    

提交回复
热议问题