1st
Confirm that the system supports the Chinese Language Environment
Execute locale Query
# Locale-A | grep ZH
Output
Zh_cn.hp15cn
Zh_cn.utf8
Zh_hk.big5
Zh_hk.utf8
Zh_tw.big5
Zh_tw.ccdc
Zh_tw.euctw
Zh_tw.utf8
The above is the Chinese language environment supported by the system
/(Root) # swlist-l fileset International
# Initializing...
# Contacting target "myhost "...
#
# Target: HP5400-1 :/
#
# International B .11.11 International
International. Arabic B .11.11 Arabic
International. Bulgarian B .11.11 Bulgarian
International. Chineses B .11.11 Chineses
International. chineset
The above operations should indicate that I have installed the Chinese environment.
Edit the/etc/DT/config/xconfig file and modify dtlogin * language: zh_cn.hp15cn.
// Sbin/init. d/dtlogin. RC Reset
Set-up a font server
It is necessary to set up a font server to provide fonts to the reflection X xserver so that CDE and HP-UX applications will work correctly. to determine whether or not a font server is already running on the HP-UX system, execute the following command:
$ PS-Ef | grep XFS
If a font server were running, you wocould see the following process in the Process List:
/Usr/bin/X11/XFS-config/etc/X11/fs/config-port 7000-DAEM
If a font server is already running, continue with the section "loading an existing font server"; otherwise, go to the section "loading and starting a new font server"
$/Usr/dt/config/xfonts/C/
Note: All font paths are separated by a comma (,).
- Stop and restart the font server:
$/Sbin/init. d/XFS stop;/sbin/init. d/XFS start
Note: Stopping and restarting the font server while in use by users on xterminals cocould potentially reset their xserver, causing their session to exit.
If the error, "xfontserver error: cannot open configuration file." results when trying to start the font server, Perform one of the following steps to resolve the problem:
Setup xmanager:
1. Enter the connection properties, and click "Configure ":
2. on the configuration page, click "font"-"add font server ":
In hostname, write the IP address of the font server you just set, and write port 7000. Connect after applying