Workaround with remoteX connection to slc6 from osx XQuarz version >  2.7.7.
Merge pull request #5841 from alja/macX_71

71x: Fix crash on remote X connection using XQuartz version  2.7.7