How to type in Chinese when using Xstart

PROBLEM DESCRIPTION


When you are using Xstart to launch individual application, you cannot type in Chinese.?



RESOLUTION


To type in Chinese within the applications launched from Xstart, two things must be done:

  • Install the Chinese font pack.
  • Start Chinese input process on the remote host


To do this, follow the instruction below:

  1. Install Chinese font from the following URL: 
    https://www.netsarang.com/en/font-download/ 

  2. Set following environmental variables on remote server. 
    - Language setting: 

    $ export LANG=# name of your Chinese here 
    Ex) export LANG=zh_CH.gb18030 


    - XMODIFIERS setting:

    $ export XMODIFIERS=@im=Chinput 


  3. Start Chinese input server 

    $ chinput & 


  4. Start gnome-terminal