xvfb run error in ubuntu 11.04

前端 未结 2 540
Happy的楠姐
Happy的楠姐 2021-01-11 12:11

My task is crawling the google search results using headless webkit(PyQt4.QtWebkit) in python. The module was crawling the results fine using PyQt4.I should have to execute

2条回答
  •  春和景丽
    2021-01-11 12:31

    You need to add --auto-servernum parameter for xvfb-run. Otherwise, it tries to spawn Xvfb on the same display (by default :99), which will fail if you already have one running.

提交回复
热议问题