一、在linux端配置
1.默认,你安装好系统gdm已经安装,不做解释
2.配置gdm
(1).修改 /etc/gdm/custom.conf 文件,替换为下面内容
- [daemon]
- RemoteGreeter=/usr/libexec/gdmgreeter
- [security]
- AllowRemoteRoot=true
- DisallowTCP=false
- AllowRoot=true
- [xdmcp]
- Enable=true
- Port=177
- [greeter]
- Browser=true
- [chooser]
- [debug]
(2).关闭iptables[也可以加入策略(xmanager 默认连接端口为177),这里我们就直接关闭防火墙]
- /etc/init.d/iptables stop # 停止防火墙
- chkconfig iptables off # 开机不启动防火墙
(3).修改 /etc/inittab ,添加如下内容
- id:5:initdefault:
- x:5:respawn:/usr/sbin/gdm
(4).重新启动centos系统
二、在window端配置
1.下载安装xmanager
下载地址:xmanager4.0破解版.zip
2.安装完毕后,点击 “xbrower”,启动xmanager
3.点击 “文件(File)” --> “新建(New)” --> “xstart 会话(xstart session)”
4.在弹出的图形化界面中,修改如下几项
会话(session):这里可以自定义,随便写个名就行
主机(host):192.168.1.120(填写IP地址)
协议(protocol):ssh
用户名(user name):root(linux用户名)
密码(password):输入密码(linux系统用户密码)
保存密码(save password):把此项选中
执行命令(excution command):点击右侧的 三角形,选择 GNOME
填好后,选择标签栏“X 服务器( X server)” --> 服务器配置文件(server profile) --> 配置(configure)
在弹出的窗口中,选择常规(general) --> 窗口模式(window mode) --> 点击选择使用的窗口模式(choose window mode to use) --> 选择:single window mode --> 点击确定,结束配置
此时,双击刚才设置好的图标,既可以启动xmanager,利用网络传输,反应有点慢!