How to make Xvfb display visible?

前端 未结 4 1439
面向向阳花
面向向阳花 2020-12-01 00:56

I am running selenium through Xvfb on display number :99 like this:

/usr/bin/Xvfb :99 -ac -screen 0 1024x768x8 & export DISPLAY=\":99\" &&

4条回答
  •  天涯浪人
    2020-12-01 01:26

    You can get a live view by running a VNC server against the Xvfb display, like this:

    x11vnc -display :99 -localhost &
    vncviewer :0
    

提交回复
热议问题