Headless servers Opengym AI rendering Error while using ray

While using ray for distributed computation, all the servers are headless (no display). Therefore, using "xvfb-run -s “-screen 0 1400x900x24” to create screen.

Getting error
pyglet.canvas.xlib.NoSuchDisplayException: Cannot connect to “None”

Without ray using only 1 machine, this command works perfectly.
"xvfb-run -s “-screen 0 1400x900x24”

In conclusion, xvfb-run doesn’t work with ray distribution.

Does Ray require extra configuration to achieve this? Is there any other way I can get past this error? I am working on a Car Racing environment from open gym ai which triggers rendering.