Thursday, August 2, 2018

Xclock "Warning: Missing charsets in String to FontSet conversion" in CentOS/Linux 6

Issue:

[root@oracle ~]# xclock
Warning: Missing charsets in String to FontSet conversion

Incorrect setting for locale environment variable LC_ALL.

Solution:

Set the LC_ALL=C variable using the below command

$ export LC_ALL=C
To make this change permanent for a particular user, add the required entries in the .bash_profile file.

$ vi /home/<username>/.bash_profile

LC_ALL=C
export LC_ALL

Run xclock it should work without any issues.

[root@oracle ~]# xclock
[root@oracle ~]#

No comments:

Post a Comment