I am running a CentOS 7 VM using the AWS and my python code is facing this error:
: cannot connect to X server
Here are my settings: