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

后端 未结 3 2078
甜味超标
甜味超标 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:17

    jeues answer helped me nothing :-( after hours I finally found the solution for my system and I think this will help other people too. I had to set the LD_LIBRARY_PATH like this:

       export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/
    

    after that everything worked very well, even without any "-extension RANDR" switch.

提交回复
热议问题