Try to load Xresources, if that fails fall back to Xdefaults. Closes #4670