:/ Strange...really no idea why people keep on running into this one lately. XOpenIM is a function ("man XOpenIM") that is necessary so that programs can figure out your keyboard layout and other stuff regarding your input devices. "Failing" should mean that no input method could be found..what is a bit strange.
One of the problems might be that moderen desktop environments are able to deal with "right-to-left" typing and similar stuff. No real idea how this is handled nowdays...but if you have any settings for this in our DE for things like this try to change them. And as said above...check your LC_* variables if they contain something useful.