Xlib: extension “RANDR” missing on display “:21”. - Trying to run headless Google Chrome

后端 未结 3 2049
甜味超标
甜味超标 2020-12-24 01:38

I\'m trying to run some Webdriver Maven tests on a headless server via xvfb using Chrome (Firefox also didn\'t work) but I\'m getting this error message:

Xli         


        
3条回答
  •  囚心锁ツ
    2020-12-24 02:10

    Try this:

    Xvfb :21 -screen 0 1024x768x24 +extension RANDR &
    Xvfb --help
    
    +extension name        Enable extension
    -extension name        Disable extension
    

提交回复
热议问题