首页 | 资讯动态 | linux基础 | 系统管理 | 网络管理 | 编程开发 | linux数据库 | 服务器技术 | linux相关 | linux认证 | 嵌入式 | 下载中心 | 专题 | linux招聘 | HR | 镜像
OKLinux中文技术站
·设为首页
·加入收藏
·联系我们
系统管理: 中文环境 系统管理 桌面应用 内核技术 | Linux基础: 基础入门 安装配置 常用命令 经验技巧 软件应用 | Linux数据库: Mysql Postgre Oracle DB2 Sybase other
网络管理: 网络安全 网络应用 Linux服务器 环境配置 黑客安全 | 编程开发: PHP CC++ Python Perl Shell 嵌入式开发 java jsp | PHP技术: PHP基础 PHP技巧 PHP应用 PHP文摘
搜索中心 Linux招聘 Linux专题 Apache | Linux相关: 硬件相关 Linux解决方案 Linux认证 企业应用 其它Unix | 相关下载: 资料下载 参考手册 开发工具 服务器类 软路由 其它
 技术搜索:
会员中心 注册会员 高级搜索  
  → 当前位置:首页>网络管理>网络应用>正文

用Xmanager远程管理LINUX,AIX等UNIX系统

http://www.oklinux.cn  2007-04-26  oklinux收集整理   会员收藏  游客收藏  【 】 
您查看的文章来源于http://www.oklinux.cn
可以从WINDOWS平台用Xmanager实现对LINUX,AIX等系统的控制,LINUX下X界面有GNOME(GDM)、KDE(XDM)、UNIX下X界面的CDE,GDM、XDM、CDE的设置,请看下文

1. When I connect to UNIX by XDMCP, the CDE session hangs.
 
1.1. I cannot see the login window.
If you cannot see the login window, you need additional fonts for the host. You can download and install the fonts in your Unix server or you can set up a font server.
To run font server in host:
 
Run "xfs&".
Run "fsinfo -server host_IP_address:7100".
To configure Xmanager:
Start Xconfig in Xmanager2 folder.
Open the properties of the profile for the session.
Select Font tab.
Add Font Server.
Save the changes and run Xmanager.
Also, one of the following reasons might prevent CDE connection to be made:  The Unix server is not located in the same subnet with your PC.
 Your PC has multiple IP addresses.
 Name server has an invalid name-to-ip or ip-to-name entry for your PC. Check the forward and
reverse lookup tables.
 See the /var/dt/Xerrors file for more detailed information.

1.2. The CDE login window shows up. After login, the session hangs or is terminated.
The $HOME/.dtprofile might have a line that prevents a successful login. You need to try to comment
all commands out in the file. Also, remove the following lines in your login scripts.:
 export DISPLAY=:0.0
 or
 setenv DISPLAY :0.0
For more detailed reasons, please see $HOME/.dt/errorlog. 
以AIX5L为例,只要安装时选了图形界面,基本上可以连上CDE,不用做太多的的改动,若不行检查一下进程,防火墙,端口等

2. XDMCP connection fails for Linux. How do I configure my Linux box?
How to configure Linux XDMCP(KDE/GNOME) settings for Xmanager
Affected Files
For runlevel: /etc/inittab
For GDM: /etc/X11/gdm/gdm.conf
For XDM: /etc/X11/xdm/xdm-config
/etc/X11/xdm/Xaccess
/etc/X11/xdm/kdmrc
/usr/share/kdm/kdmrc
/usr/share/config/kdm/kdmrc
/etc/opt/kde2/share/config/kdm/kdmrc

For Firewall: /etc/sysconfig/ipchains
 
Step 1. Change runlevel to enable gdm or kdm.
Open /etc/inittab file.
Change the runlevel to 5 as following:
id:5:initdefault:
 
Step 2. GDM configuration (When the Linux is using gdm)
若是以进程3登录的,又不想改成进程5图形登录,也可以在进去后动行GDM(gnome)或XDM(KDE),启动GDM、XDM进程
 
Open /etc/X11/gdm/gdm.conf file.
Go to the [xdmcp]section.
Set the value of "Enable" option to "1".
Step 3. KDM configuration (When the Linux is using kdm)
Open /etc/X11/xdm/xdm-config file.
Comment out "requestPort" option as following:
DisplayManager.requestPort: 0
==>
!DisplayManager.requestPort: 0
Open /etc/X11/xdm/Xaccess file.
Remove the initial "#" character for the following line:
#* #any host can get a login window
==>
* #any host can get a login window
Open /etc/X11/xdm/kdmrc,
/usr/share/config/kdm/kdmrc or
/etc/opt/kde2/share/config/kdm/kdmrc file.
Change the value of "Enable" option to "true".

Step 4. Firewall configuration (If the firewall has been configured)
Open /etc/sysconfig/ipchains file.
Add the following lines at the top of the file:
-A input -p udp -s 0/0 -d 0/0 177 -j ACCEPT
-A input -p tcp -s 0/0 -d 0/0 telnet -j ACCEPT
-A input -p tcp -s 0/0 -d 0/0 ssh -j ACCEPT
-A input -p tcp -s 0/0 -d 0/0 login -j ACCEPT
-A input -p tcp -s 0/0 -d 0/0 exec -j ACCEPT
-A input -p tcp -s 0/0 -d 0/0 shell -j ACCEPT
-A input -p tcp -s 0/0 -d 0/0 7100 -j ACCEPT
Step 5. Restart your Linux to activate the changes.
 

3. I am trying to connect to SUN Solaris/HP-UNIX/IBM AIX using XDMCP, but I get the error message:
"XDMCP Connection failed."
In order to use XDMCP connection, CDE login should be enabled on your remote server.
Follow the instruction below to enable CDE login:

Login as a root.
Enable CDE login when system boot:
   $ /usr/dt/bin/dtconfig -e [enter]
dtconfig -reset
If you want to disable the CDE login setting, do the following: 
  $ /usr/dt/bin/dtconfig -d [enter]
 

4. I'm in the local network inside a NAT system. How can I connect to the remote host?
To run a remote xterm program, your IP address should be a public one that can be reached from the remote host because a remote xterm tries to connect to your local PC.
If your PC is located inside the firewall or NAT and the Unix host is located outside, X
applications cannot connect to the Xmanager running on your PC.
There are two solutions on this situation:
By configuring port forwarding rules on the NAT system.
By using SSH protocol in the Xstart program.
The two solutions above are only for Xstart connection, not for XDMCP. XDMCP connection is not supported currently.
To use port forwarding, you should forward the port 6000 of NAT system to the port 6000 of your PC.
In case of multiple local users, you can do the following steps:
    (NAT, 6001) ==> (PC1, 6000)
    (NAT, 6002) ==> (PC2, 6000)
     ...
    (NAT, 6009) ==> (PC9, 6000)
Then, in the Xstart program, each user have to enter "-display" option like this:
    /usr/bin/X11/xterm -ls -display $NATADDR:1
    The value of "-display" option should be:
        For PC1: $NATADDR:1
        For PC2: $NATADDR:2
In case of using SSH connection, you do not have to configure other options. It establishes a secure tunnel between PC and Unix, so we recommend you to use SSH protocol if the Unix server supports it.
 

5. Which ports should I allow on my firewall?
You should open the following TCP/UDP ports.
From remote host to local PC (Inbound):  TCP 6000 ~ 6010 for Xmanager
 *TCP 16001 for Gnome only

From local PC to remote host (Outbound):  UDP 177 for XDMCP
 TCP 512, 513, 514, 23, 22 for Xstart
*Note: Gnome may fail to logout if TCP 16001 port is not allowed. 

6. I'm inside a firewall using IP masquerading. How can I connect to external Linux/Unix hosts?
To use Xstart with IP masquerading, please do the following steps:
run the following command as a root on your firewall server.
# ipmasqadm portfw -a -P tcp -L firewall_address 6010 -R PC_address 6000
run Xstart program.
enter the following command at Command field.
/usr/bin/X11/xterm -ls -display firewall_address:10.0
click the run button.
Be sure that, firewall_address and PC_address must be changed to the corresponding IP addresses on your own network.
 

7. How can I run a remote X application on my PC with a dynamic IP address?
If you want to start an X application such as xterm, first click Xstart icon in the Xmanager folder
and set the command field as following:
"/usr/bin/X11/xterm -ls -display $DISPLAY"
In the protocol field, you should select a protocol supported by your remote Unix/Linux server. 

8. How can I use Xmanager through SSH?
Run Xstart in the Xmanager folder.
Select SSH for Protocol.
Enter username, password, hostname, etc.
Type in Execution Command as following:
   /usr/bin/X11/xterm -ls
Note that -display option is absent. SSH server will assign a proper value.
Click Save and Run button.
The Xstart will automatically run Xmanager and then execute the remote command.
 

9. When I open an xterm window, some characters are displayed incorrectly on the screen. Some (not
all) capital letters looks like a small dot.
Run Xconfig program in the Xmanager2 folder.
Open the properties of the profile for the session.
Select Advanced tab.
Turn the Maximize performance option off.
Save the changes and run Xmanager.
 

10. I've lost my product key. Where can I find it?
In the Customer Service page, you can find your product key. Click here. 

11. The Backspace key does not work in xterm from RedHat 7 host.
run Keyboard Editor in Xmanager folder.
open your keyboard file.
click the BackSpace key you are using.
change the keysym value as following:
Unshifted: BackSpace
Shifted: NoSymbol
ModeSwitch: NoSymbol
ShiftedModeSwitch: NoSymbol
save and restart Xmanager.
 

12. How can I configure firewall settings in Windows XP/2003?
Windows XP/2003 may block all incoming TCP/IP connections. So, Xmanager cannot be used without allowing its listening port.
Please do the following steps to enable Xmanager connection.:

Open Control Panel, Network and Internet Connection, and then Network Connections.
Right-click on your Internet connection, and then click Properties.
Click Settings. RESULT: Advanced Settings dialog box will open.
Allow TCP port 6000 ~ 6010.
If  Windows XP Service Pack 2 is installed on your machine, follow the procedure below:

Open Control Panel, and then Windows Firewall.
From the General tab, select On (recommended) option.
Click the Exception tab.
Click the Add Program button.
From the Programs list, select Xmanager - Passive.
Click OK.

 

13. Colors are not displayed correctly when I use 256-color CAD applications.
Some old X applications using 256-color visual cannot display colors correctly in the True color
video device. Mostly, CAD applications such as Cadence, Mentor and CATIA have this problem.
You can configure 256-color emulation to fix this problem. In the Xconfig, change Default Visual and Backing Store options as following:  Default Visual: PseudoColor
 Backing Store: When Mapped

These options will enable 256-color emulation feature in Xmanager.
 

14. Gnome terminal fails to open in RedHat 7.3.
The problem occurs due to the font used by gnome-terminal.
To fix this problem, configure xfs program and add the specific font server into the font list of
Xconfig.
Comment the following line out in the file /etc/X11/fs/config.
#no-listen = tcp
Restart xfs process or reboot the system.
Open Xconfig utility.
Choose Font tab.
Click Add Font Server button.
In the Host box, enter the hostname or IP address of Linux.
In the Port box, enter 7100.
Restart Xmanager.
Make sure that the font server should be listed in the bottom of the font list.
 

15. Does Xmanager support Windows or Citrix terminal server?
Xmanager supports both Windows terminal server and Citrix MetaFrame server. To use Xmanager in those
environment, please follow the guidelines below:
For XDMCP connection
Install Xmanager into the Windows or Citrix terminal server.
Run Xbrowser in each terminal client. Xbrowser is installed with Xmanager.
For Xstart session
Check Allocate display number automatically on in the Xstart Advanced Options dialog box.
 
 
16. Now that I have purchased Xmanager, do I need to download any install file? And how can I apply
my product key
Xmanager evaluation is fully functional copy and there is no need to reinstall additional software.
To apply your product key follow the steps below:
Open Xbrowser.
From the Help menu and click About Xbrowser.
Click Enter Product Key.
RESULT: Registration window opens up.
Enter your product key and click OK.
Also, expiration date notice window will not appear again once you apply your product key.

可参考http://www.netsarang.com/products/xmg_faq.html#pl

上一篇:ntop监控网络状态   下一篇:NFS服务搭建过程总结

收藏于收藏夹】 【评论】 【推荐】 【打印】 【关闭
相关文档
·NFS服务搭建过程总结
·ntop监控网络状态
·VirtualBox桥接方式
·iptables的功能扩展P2P流量
·搭建Linux下的Squid代理服务器
·Samba配制中文对照
·利用raidtools模拟mdadm 的spare-group功能
·linux路由软件:zebra
·nagios的安装和配置
·iptables实现端口转发的过程
·修改Linux静态路由
·VMware RAID5实验
·Linux下NAT和MAC绑定的安装
·Linux 双网卡代理服务器配置文件实例
·Linux的NFS的详细中文说明
·linux上的 heartbeat 双机热备服务架设
发表评论
密码: 匿名评论
评论内容:

(不超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规)
 
  最新文档
·用putty在Windows下远程连接Linux出现
·Ubuntu的局域网安装方法
·四步轻松搞定Ubuntu Linux下WPA无线上
·Linux系统日志下vsftpd的配制
·Linux系统下DNS服务器的架设
·Linux系统下LVM扩充方法
·Ubuntu 8.04 LTS (Hardy Heron)更新源
·Firefox 3.0 Beta 4 推出
·VMware下让Linux系统与真实主机共享上
·Linux系统下服务器的硬件检查和文件传
·在虚拟机Redhat Linux下安装Samba服务
·Linux操作系统下PPPOE拨号共享上网方法
  阅读排行
·防火墙也能DIY----免费的专业级防火墙M
·linux下的rsync配置和使用教程
·LVS集群学习笔记(NAT\DR\IP tunnel)
·Ubuntu 8.04 LTS (Hardy Heron)更新源
·如何解决Xmanager不能登陆Linux系统问
·RHEL5实现高可用HA集群+GFS+Enterprise
·Suse Linux下的samba设置用户说明
·Linux 硬盘克隆备份详细图解
·用VNC实现远程桌面共享的方法
·xManager连接Linux的配置方法
·linux下文件服务Vsftp详细介绍
· Linux下Tomcat配置技巧详解分析
·Linux下使用Openssh工具远程管理Solari
·Linux操作系统下SVN服务器的搭建详解
·linux下配置Telnet服务与配置Ftp服务
网摘收藏: