X Error of failed request: BadValue (integer parameter out of range for operation)
I was getting errors like this: On a remote machine, with nvidia graphics card. Solved the problem by installing the NVIDIA driver from .run file, with the option –no-opengl-files (Inspired from here: https://gist.github.com/wangruohui/df039f0dc434d6486f5d4d098aa52d07) Hope this helps!