If you are using Putty to forward your X session on CentOS Linux, make sure you have this requirement.
Putty
Make sure Enable X11 Forwarding is enabled
CentOS
Make sure package xorg-x11-xauth is installed. This is very important
Xming
No special setting required.