Need more info on the controller because don't understand why you would be connecting a VGA monitor cable directly to a controller.?

In a normal CNC controller that uses a PC, you should never ground the PC case to the controller's ground because you create a ground loop. So if you have the PC case connected to the controller's ground simply remove it.