I am logging on to the server remotely using xRDP on the server and Windows RDP on my laptop. i am able to login fine and run nvidia-smi with no issues. but when i launch nvidia-settings it opens up a small empty window with the error i posted above
With SSH , i presume that it does not work.
To make sure it was not a permission issue i logged in as root.