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.
- Convert DateTime in Java using jodatime library
- How to print java time using jodatime library.
- How to convert epoch time to human readable format in UNIX.
- How to find list of all open files in Linux/UNIX.
- X Error of failed request: BadFont (invalid Font parameter)
- How to test web service using command line curl.
- Recover Missing Or Unallocated Space On A USB Drive
No comments:
Post a Comment