We had a simlar issue in one of our applications and traced it to the fact that the default X11 visual is not the first one in the list returned: xrdp_xdpyinfo.txt In our app I was able to work around ...