Hey guys.
(no. this isnt a typo!! sorry 'bout that earlier!)
Got a bit of an issue that's apparently flumoxed other as well. I'm trying to set up a centos7 box to test out py+selenium+google-chrome.
As far as I can tell, you essentially download/install the bits (yum) and you can fire up a test. I'm not quite getting there though.
I've set the epel repo for a few things.
Downloaded/installed google-chrome-stable (v59) via yum downloaded chromedriver as well installed Xvfb
right not, simply trying to get google-chrome-stable to run from the cmdline with no errs
as sudo user, started Xvfb :1 & export DISPLAY=":1" fired up google-chrome-stable
and got: google-chrome-stable Xlib: extension "RANDR" missing on display ":1". [1735:1735:0720/000303.549815:ERROR:gl_surface_glx.cc(407)] glxQueryVersion failed [1735:1735:0720/000303.549869:ERROR:gl_initializer_x11.cc(156)] GLSurfaceGLX::InitializeOneOff failed. [1735:1735:0720/000303.617339:ERROR:gpu_child_thread.cc(174)] Exiting GPU process due to errors during initialization [1642:1678:0720/000303.622469:ERROR:browser_gpu_channel_host_factory.cc(103)] Failed to launch GPU process.
what the heck!!
In researching this, it appears others on centos/ubuntu/etc have gotten similar output.
If you have a few mins, any thoughts/comments will be appreciated.
Heck, given that this is a cheap instance, I'd glady grant root access to you as well!
thanks...
ps. If I can get this to operate correctly, then the actual test can occur.
On 07/19/2017 05:19 PM, bruce wrote:
Hey guys.
(no. this isnt a typo!! sorry 'bout that earlier!)
Got a bit of an issue that's apparently flumoxed other as well. I'm trying to set up a centos7 box to test out py+selenium+google-chrome.
As far as I can tell, you essentially download/install the bits (yum) and you can fire up a test. I'm not quite getting there though.
I've set the epel repo for a few things.
Downloaded/installed google-chrome-stable (v59) via yum downloaded chromedriver as well installed Xvfb
right not, simply trying to get google-chrome-stable to run from the cmdline with no errs
as sudo user, started Xvfb :1 & export DISPLAY=":1" fired up google-chrome-stable
and got: google-chrome-stable Xlib: extension "RANDR" missing on display ":1". [1735:1735:0720/000303.549815:ERROR:gl_surface_glx.cc(407)] glxQueryVersion failed [1735:1735:0720/000303.549869:ERROR:gl_initializer_x11.cc(156)] GLSurfaceGLX::InitializeOneOff failed. [1735:1735:0720/000303.617339:ERROR:gpu_child_thread.cc(174)] Exiting GPU process due to errors during initialization [1642:1678:0720/000303.622469:ERROR:browser_gpu_channel_host_factory.cc(103)] Failed to launch GPU process.
what the heck!!
In researching this, it appears others on centos/ubuntu/etc have gotten similar output.
If you have a few mins, any thoughts/comments will be appreciated.
Heck, given that this is a cheap instance, I'd glady grant root access to you as well!
Uhm, perhaps:
Xvfb -x xrandr :1 &
to force xrandr to be loaded. Most "-x" operations on Xvfb are no-ops, but that might be the bullet. Dunno, never used it. ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com - - AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 - - - - Huked on foniks reely wurked for me! - ----------------------------------------------------------------------