Resolves the issue of garbled code when XManager is connected to the HP-UX

Source: Internet
Author: User

[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.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.