[From] http://www.ibeijie.cn/xmanager-even-show-garbled-into-hpux
Beijie recently learned how to install ORACLE on HPUX. The installation process requires the Xmanager Graphical Simulation terminal. However, when a new session is initiated, the login interface is garbled, which looks uncomfortable. So how can we remove garbled characters to implement Chinese fonts? The font server can be used at this time. The specific implementation method is as follows.
1. Use the zh_CN.hp15CN font of HP_UNIX
1. Create a folder on your machine with Xmanager installed, D:/Program Files/Xmanager2/Fonts/hpux
2. Copy all the files in the/usr/lib/X11/fonts/hp_chinese_s/75dpi directory on the HP-UX system to the above directory.
3. Add the font directory to the Xmanager font directory. (Add the Default Profile --> Font in Xconfig)
4. in/etc/dt/config/Xconfig, change it to Dtlogin * language: zh_CN.hp15CN. If the "/etc/dt/config/Xconfig" file does not exist, copy the file from the "/usr/dt/config" directory.
5. Log On again
II,On the HP-UX server side:
# Vi/etc/services
Remove the annotator of the following line, which means to open port 7000.
The X11 font server listens on port 7000
# Vi/etc/rc. config. d/xfs
RUN_X_FONT_SERVER = 1
Setting the above variable to 1 means that the font server is automatically started every time the host starts.
#/Sbin/init. d/xfs start
The above command is to manually start the font server process.
In Xmanager's Xconfig, add the font option to the font server. Note that the host name is the IP address of the host that opens the font service for you. When you use Xmanager to connect to HPUX, the displayed environment is a Chinese environment, rather than garbled characters.
The last thing to note is to restart the server.