Xmanager 连接 AIX 系统

     Xmanager 工具经常用于客户端在远程图形方式访问Unix或Linux 系统,以下案例介绍了如何在AIX系统中通过xmanager 工具进行连接。


1、检测AXI系统中所需要的软件包

[root@/soft/database/Disk1aix211]# lslpp -l |grep -i x11

X11.Dt.ToolTalk            5.3.9.0  COMMITTED  AIX CDE ToolTalk Support

 X11.Dt.adt                 5.3.9.0  COMMITTED  AIX CDE Application

 X11.Dt.bitmaps             5.3.0.0  COMMITTED  AIX CDE Bitmaps

 X11.Dt.compat              5.3.7.0  COMMITTED  AIX CDE Compatibility

 X11.Dt.helpinfo            5.3.0.0  COMMITTED  AIX CDE Help Files and Volumes

 X11.Dt.helpmin             5.3.0.0  COMMITTED  AIX CDE Minimum Help Files

 X11.Dt.helprun             5.3.9.0  COMMITTED  AIX CDE Runtime Help

 X11.Dt.lib                 5.3.9.0  COMMITTED  AIX CDE Runtime Libraries

 X11.Dt.rte                 5.3.9.0  COMMITTED  AIX Common Desktop Environment

 X11.Dt.xdt2cde             5.3.9.0  COMMITTED  AIX CDE Migration Tool

 X11.adt.bitmaps            5.3.0.0  COMMITTED  AIXwindows Application

 X11.adt.ext                5.3.9.0  COMMITTED  AIXwindows Application

 X11.adt.imake              5.3.9.0  COMMITTED  AIXwindows Application

 X11.adt.include            5.3.8.0  COMMITTED  AIXwindows Application

 X11.adt.lib                5.3.9.0  COMMITTED  AIXwindows Application

 X11.adt.motif              5.3.9.0  COMMITTED  AIXwindows Application

 X11.apps.aixterm           5.3.8.0  COMMITTED  AIXwindows aixterm Application

 X11.apps.clients           5.3.9.0  COMMITTED  AIXwindows Client Applications

 X11.apps.config            5.3.9.0  COMMITTED  AIXwindows Configuration

 X11.apps.custom            5.3.9.0  COMMITTED  AIXwindows Customizing Tool

 X11.apps.msmit             5.3.8.0  COMMITTED  AIXwindows msmit Application

 X11.apps.rte               5.3.9.0  COMMITTED  AIXwindows Runtime

 X11.apps.util              5.3.9.0  COMMITTED  AIXwindows Utility

 X11.apps.xdm               5.3.8.0  COMMITTED  AIXwindows xdm Application

 X11.apps.xterm             5.3.9.0  COMMITTED  AIXwindows xterm Application

 X11.base.common            5.3.0.0  COMMITTED  AIXwindows Runtime Common

 X11.base.lib               5.3.9.0  COMMITTED  AIXwindows Runtime Libraries

 X11.base.rte               5.3.9.0  COMMITTED  AIXwindows Runtime Environment

 X11.base.smt              5.3.0.30  COMMITTED  AIXwindows Runtime Shared

 X11.base.xpconfig          5.3.0.0  COMMITTED  Xprint Configuration Files

 X11.compat.adt.Motif12    5.3.0.50  COMMITTED  AIXwindows Motif 1.2

 X11.compat.lib.Motif10     5.3.0.0  COMMITTED  AIXwindows Motif 1.0 Libraries

 X11.compat.lib.Motif114    5.3.0.0  COMMITTED  AIXwindows Motif 1.1.4

 X11.compat.lib.X11R3       5.3.0.0  COMMITTED  AIXwindows X11R3 Libraries

 X11.compat.lib.X11R4       5.3.0.0  COMMITTED  AIXwindows X11R4 Libraries

 X11.compat.lib.X11R5       5.3.9.0  COMMITTED  AIXwindows X11R5 Compatibility

 X11.fnt.Gr_Cyr_T1          5.3.0.0  COMMITTED  AIXwindows Greek-Cyrillic

 X11.fnt.coreX              5.3.0.0  COMMITTED  AIXwindows X Consortium Fonts

 X11.fnt.defaultFonts       5.3.0.0  COMMITTED  AIXwindows Default Fonts

 X11.fnt.fontServer         5.3.9.0  COMMITTED  AIXwindows Font Server

 X11.fnt.ibm1046            5.3.0.0  COMMITTED  AIXwindows Arabic Fonts

 X11.fnt.ibm1046_T1         5.3.0.0  COMMITTED  AIXwindows Arabic Type1 Fonts

 X11.fnt.iso1               5.3.0.0  COMMITTED  AIXwindows Latin 1 Fonts

 X11.fnt.iso2               5.3.0.0  COMMITTED  AIXwindows Latin 2 Fonts

 X11.fnt.iso3               5.3.0.0  COMMITTED  AIXwindows Latin 3 Fonts

 X11.fnt.iso4               5.3.0.0  COMMITTED  AIXwindows Latin 4 Fonts

 X11.fnt.iso5               5.3.0.0  COMMITTED  AIXwindows Cyrillic Fonts

 X11.fnt.iso7               5.3.0.0  COMMITTED  AIXwindows Greek Fonts

 X11.fnt.iso8               5.3.0.0  COMMITTED  AIXwindows Hebrew Fonts

 X11.fnt.iso8_T1            5.3.0.0  COMMITTED  AIXwindows Hebrew Type1 Fonts

 X11.fnt.iso9               5.3.0.0  COMMITTED  AIXwindows Turkish Fonts

 X11.fnt.iso_T1             5.3.0.0  COMMITTED  AIXwindows Latin Type1 Fonts

 X11.fnt.ksc5601.ttf        5.3.0.0  COMMITTED  AIXwindows Korean KSC5601

 X11.fnt.ucs.cjk            5.3.0.0  COMMITTED  AIXwindows Unicode CJK Fonts

 X11.fnt.ucs.com            5.3.0.0  COMMITTED  AIXwindows Common Fonts

 X11.fnt.util               5.3.9.0  COMMITTED  AIXwindows Font Utilities

 X11.help.en_US.Dt.helpinfo

 X11.loc.en_US.base.rte     5.3.0.0  COMMITTED  AIXwindows Locale

 X11.man.en_US.Dt.adt       5.3.0.0  COMMITTED  AIX CDE Toolkit Man Pages -

 X11.man.en_US.Dt.rte       5.3.0.0  COMMITTED  AIX CDE Man Pages - U.S.

 X11.motif.lib              5.3.9.0  COMMITTED  AIXwindows Motif Libraries

 X11.motif.mwm              5.3.9.0  COMMITTED  AIXwindows Motif Window

 X11.msg.en_US.Dt.helpmin   5.3.0.0  COMMITTED  AIX CDE Minimum Help Files -

 X11.samples.apps.aixclients

 X11.samples.apps.clients   5.3.9.0  COMMITTED  AIXwindows Sample X Consortium

 X11.samples.apps.demos     5.3.9.0  COMMITTED  AIXwindows Sample X Consortium

 X11.samples.apps.motifdemos

 X11.samples.common         5.3.0.0  COMMITTED  AIXwindows Imakefile Structure

 X11.samples.doc            5.3.0.0  COMMITTED  AIXwindows Sample Documents

 X11.samples.ext            5.3.9.0  COMMITTED  AIXwindows Sample X Extensions

 X11.samples.fnt.util       5.3.9.0  COMMITTED  AIXwindows Sample Font Server

 X11.samples.lib.Core       5.3.9.0  COMMITTED  AIXwindows Sample X Consortium

 X11.samples.rgb            5.3.8.0  COMMITTED  AIXwindows Sample Color

 X11.vfb                    5.3.9.0  COMMITTED  Virtual Frame Buffer Software

 X11.vsm.lib                5.3.9.0  COMMITTED  Visual System Managment

 bos.rte.X11                5.3.0.0  COMMITTED  AIXwindows Device Support

 devices.pci.02105e51.X11   5.3.8.0  COMMITTED  AIXwindows Native Display

 devices.pci.14101b02.X11   5.3.9.0  COMMITTED  AIXwindows GXT6500P Graphics

 devices.pci.14101c02.X11   5.3.9.0  COMMITTED  AIXwindows GXT4500P Graphics

 devices.pci.14103302.X11   5.3.8.0  COMMITTED  AIXwindows GXT135P Graphics

 devices.pci.14103c00.X11   5.3.9.0  COMMITTED  AIXwindows GXT250P/GXT255P

 devices.pci.14105400.X11   5.3.9.0  COMMITTED  AIXwindows GXT500P/GXT550P

 devices.pci.14105e00.X11   5.3.9.0  COMMITTED  AIXwindows GXT800P Graphics

 devices.pci.14106e01.X11   5.3.9.0  COMMITTED  AIXwindows GXT4000P Graphics

 devices.pci.14107001.X11   5.3.9.0  COMMITTED  AIXwindows GXT6000P Graphics

 devices.pci.14107d01.X11   5.3.9.0  COMMITTED  AIXwindows GXT300P Graphics

 devices.pci.14108e00.X11   5.3.9.0  COMMITTED  AIXwindows GXT3000P Graphics

 devices.pci.1410b800.X11   5.3.9.0  COMMITTED  AIXwindows GXT2000P Graphics

 devices.pci.2b101a05.X11   5.3.8.0  COMMITTED  AIXwindows GXT120P Graphics

 devices.pci.2b102005.X11   5.3.0.0  COMMITTED  AIXwindows GXT130P Graphics

 devices.pci.2b102725.X11   5.3.8.0  COMMITTED  AIXwindows GXT145 Graphics

 devices.serial.gio.X11    5.3.0.50  COMMITTED  AIXwindows Serial Graphics

 devices.serial.sb1.X11    5.3.0.50  COMMITTED  AIXwindows 6094-030 Spaceball

 devices.serial.tablet1.X11

 X11.Dt.ToolTalk            5.3.8.0  COMMITTED  AIX CDE ToolTalk Support

 X11.Dt.bitmaps             5.3.0.0  COMMITTED  AIX CDE Bitmaps

 X11.Dt.helpinfo            5.3.0.0  COMMITTED  AIX CDE Help Files and Volumes

 X11.Dt.helpmin             5.3.0.0  COMMITTED  AIX CDE Minimum Help Files

 X11.Dt.rte                 5.3.8.0  COMMITTED  AIX Common Desktop Environment

 X11.base.rte               5.3.8.0  COMMITTED  AIXwindows Runtime Environment

 X11.base.smt              5.3.0.30  COMMITTED  AIXwindows Runtime Shared

 X11.help.en_US.Dt.helpinfo

 X11.vfb                   5.3.0.50  COMMITTED  Virtual Frame Buffer Software


2、验证Xwindow 服务是否启动


验证XDMCP服务,是否启动,端口号:177/UDP

[root@/soft/database/Disk1aix211]# netstat -an |grep 177


udp4       0      0  *.177                  *.*                  

[root@/soft/database/Disk1aix211]#

如果查看到177端口已经被启用,说明Xwindow服务已经工作,可以进行图形化连接!


3、如果服务未启动


可以这样启动XDMCP服务:

1、使用root登陆系统。

2、执行以下操作:

$ cd /usr/dt/bin

$ ./dtconfig  -e

$ cd /etc

$ rc.dt


4、查看是否启动 telnet服务

    xmanager 远程连接一般通过telnet 或 ssh 连接(AIX系统telnet server 是通过超级进程inetd 启动,首先保证在inetd 下启动了telnet service)

wKioL1M80dHhHEF8AAC_YcTnv-U375.jpg

5、验证:

Xmanager 连接 AIX 系统_第1张图片

通过Xbrower 连接

Xmanager 连接 AIX 系统_第2张图片

通过Xstart 连接