This issue is not specific to environment.
Issue
Error message "Unable to create directx D3d context" while using Portrait/Spectrum Miner.

Cause
While using Portrait/Spectrum Miner by remote desktoping the client machine, user may get error.
Resolution
UPDATED: August 24, 2017Just unzip the attached and copy the 3 files into the <pmhome>\[server|client]\jre\win32\1.6.0_21\lib\ext folder, replacing the files that are there.
For dekstop install they go into the ‘server’ jre, on client installs they go to the ‘client’ folder.
For dekstop install they go into the ‘server’ jre, on client installs they go to the ‘client’ folder.