ITPub博客

首页 > 数字化转型 > ERP > xmanager管理hp-ux 配置

xmanager管理hp-ux 配置

原创 ERP 作者:weifenghq 时间:2009-03-06 08:53:41 0 删除 编辑

$export DISPLAY

检查下你的登陆用户的.dtlogin文件

# ./sbin/init.d/dtlogin.rc start

1st 确认系统支持中文语言环境
执行 locale 查询
# locale -a | grep zh
输出
zh_CN.hp15CN zh_CN.utf8 zh_HK.big5 zh_HK.utf8 zh_TW.big5 zh_TW.ccdc zh_TW.eucTW zh_TW.utf8
上述为系统所支持的中文语言环境

/(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

以上操作应该说明我已安装了中文环境。

然后编辑/etc/dt/config/Xconfig文件,修改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 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

    1. 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 (,).

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

    1. 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/
    2. Set the RUN_X_FONT_SERVER environment variable to 1 in the /etc/rc.config.d/xfs file:

      RUN_X_FONT_SERVER=1
    3. Start the font server:

      $ /sbin/init.d/xfs start
    4. 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

SETUP Xmanager:

1 进入连接属性,点“Configure”:

xManager Properties X-Server


2 在配置页面,点“Font”――》“Add Font Server”:

xManager Default Profile Properties font

Hostname中写刚才设置的Font Server的IP,port写7000。Apply后就可以连接了

from:

http://blog.csdn.net/ccnp_Server/archive/2006/11/10/1376944.aspx

[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/633084/viewspace-1018172/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-11-25

  • 博文量
    100
  • 访问量
    595186