Xmanager介绍
Xmanager全称Netsarang Xmanager,是国外一套非常优秀的远程监控软件。在UNIX/Linux和Windows网络环境中,Xmanager是最好的连通解决方案。我推荐大家下载Enterprise版本,企业版带的工具更多功能更强大。我们通过Xmanager连接Linux远程桌面进行图形化管理其实就是利用了Xmanager套装里面的Xbrowser程序。
由于想到平时用的是CentOS,而不是redhat。因此,这里我会拿CentOS6.4和RedHat 5.4来做作为例子。
在win平台上用Xmanager连接到linux图形化界面之前,需要先在linux上做的一些操作。
CentOS 6.4
环境:
系统:CentOS 6.4
系统经过基础优化,iptables和selinux都为关闭状态
一、安装xdm
默认mini安装和server安装出来的CentOS 6.4系统上面没有xdm。因为使用Xmanager要求linux系统中必须有xdm才行,因此我们需要先安装xdm。
1. [root@localhost ~]# yum install xdm -y 二、修改参数
1、修改xdm相关参数
1. [root@localhost ~]# vim /etc/X11/xdm/Xaccess 将该文件中如下行,解除注释
1. #* #any host can get a login window 2、修改gdm相关参数
01. [root@localhost ~]# vim /etc/X11/xdm/Xaccess 02. # broadcast address, it sends DirectQuerys to each of the hosts in the list 03. # The fifth form tells xdm which addresses to listen for incoming connections 04. # on. If present, xdm will only listen for connections on the specified 05. # interfaces and/or multicast groups. 06. # 07. # In all cases, xdm uses the first entry which matches the terminal; 08. # for IndirectQuery messages only entries with right hand sides can 09. # match, for Direct and Broadcast Query messages, only entries without 10. # right hand sides can match. 11. # 12. * #any host can get a login window 13. # 14. # To hardwire a specific terminal to a specific host, you can 15. # leave the terminal sending indirect queries to this host, and 16. # use an entry of the form: 17. # 18. #terminal-a host-a 19. # 20. [root@localhost ~]# vim /etc/gdm/custom.conf 21. # GDM configuration storage 22. [daemon] 23. [security] 24. AllowRomoteRoot=true #添加上的,允许远程root登录 25. [xdmcp] 26. Port=177 #添加上的,指定端口177 27. Enable=1 #添加上的,允许 28. [greeter] 29. [chooser] 30. [debug] 如上配置完毕之后,最好将系统重启一下。
三、Win客户端配置
1、安装Xmanager软件
步骤略
2、相关设置
操作看图片
这样,对于CentOS 6.4系统,我们已经可以用Xmanager进行图形界面的远程连接操作了。
RedHat 5.4
环境:
系统:RedHat 5.4
已做过基础优化,iptables和selinux都为关闭状态
一、修改gdm配置
1. [root@localhost ~]# vim /usr/share/gdm/defaults.conf 将此文件中的如下配置行进行修改
1. Enable=true 2. DisplaysPerHost=2 3. Port=177 #配置默认端口,此行需要解锁 4. AllowRemoteRoot=true #这里默认是false,如果不改为true,则root用户就不能远程登录 做完上述修改之后,需要将gdm重启
1. [root@localhost ~]# gdm-restart 二、修改/etc/inittab配置
我们需要将/etc/inittab文件最后一行
1. x:5:respawn:/etc/X11/prefdm -nodaemon 修改为
1. x:5:respawn:/usr/sbin/gdm 这样子我们的linux端就配置好了
三、Win客户端配置
参考上面CentOS 6.4的第三步。



















