25 June, 2015

X Error of failed request: BadFont (invalid Font parameter)


X Error of failed request:  BadFont (invalid Font parameter)


When I was trying to start WebSphere Developer Studio , faced the with below error. And this is very common error in unix. Because , there are many local and international languages.Its basically not able to find the respective font.

dev@jdg-developer-desktop /opt/IBM/WebSphereStudio/ApplicationDeveloper/v5.1.1 $ ./shortcut_wsappdev
Warning: locale not supported by C library, locale unchanged
X Error of failed request:  BadFont (invalid Font parameter)
  Major opcode of failed request:  55 (X_CreateGC)
  Resource id in failed request:  0x0
  Serial number of failed request:  180
  Current serial number in output stream:  184



You need to sure and make the language installed 

sudo apt-get install language-pack-en-base

Now reconfigure some local languages this is of ubuntu (try with super user):

sudo dpkg-reconfigure locales

Now you can try your local language :

locale -a

Now you can set your expected language as per your requirement. I tried all and set in my ubuntu linux machine. It worked for me.

export LC_ALL="en.utf-8"


export LC_ALL="en_US"
export LANG="en_US"
export LANGUAGE="en_NZ"
export C_CTYPE="en_US"
export LC_NUMERIC=
export LC_TIME=en"en_US"


Find more here about locale.




Hope it will help you.
Follow for more details on Google+ and @Facebook!!!

Find More :-

No comments:

Post a Comment