zh_TW.utf8
上述为系统所支持的中文语言环境
/(root)#swlist -l fileset International
# Contacting target "myhost"...
# International B.11.11 International
International.ARABIC B.11.11 ARABIC
International.BULGARIAN B.11.11 BULGARIAN
International.CHINESES B.11.11 CHINESES
然后编辑/etc/dt/config/Xconfig文件,修改Dtlogin*language:zh_CN.hp15CN
再/sbin/init.d/dtlogin.rc reset
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:
If a font server were running, you would 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 "Configuring an Existing Font Server"; otherwise, go to the section "Configuring and Starting a New Font Server"
- CONFIGURING AN EXISTING FONT SERVER
- Append the following font path to the end of the catalogue= line in the font server's config file, /etc/X11/fs/config:
$ /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 could potentially reset their Xserver, causing their session to exit.
CONFIGURING AND STARTING A NEW FONT SERVER
Append the following font path to the end of the catalogue= line in the font server's config file, /etc/X11/fs/config:
/usr/dt/config/xfonts/C/ Set the RUN_X_FONT_SERVER environment variable to 1 in the /etc/rc.config.d/xfs file:
RUN_X_FONT_SERVER=1 Start the font server:
$ /sbin/init.d/xfs start
- Verify that the font server has been started:
$ ps -ef | grep xfs
- RESOLVING "XFontserver error: Cannot open configuration file." ERRORS
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:
Install the latest font server patch.
- Add the following line to the end of the /etc/rc.config.d/xfs file:
CONFIG_FILE_NAME=/etc/X11/fs/config
2 在配置页面,点“Font”――》“Add Font Server”:
Hostname中写刚才设置的Font Server的IP,port写7000。Apply后就可以连接了