Hello
Such issues occur because of incorrect export of DISPLAY variable. In your case, DISPLAY variable seems to be set correctly as xclock is working fine. Can you try setting DISPLAY variable to another client machine and see if it works there? Are you able to launch configtool and other GUI based tools? You may take a restart the client machine and try again.
Cheers,
Tapan