最近在搞Qemu虚拟机相关的项目,需要用到Linux的桌面系统,用Xmanager连接CentOS桌面最方便了。
Linux端:CentOS release 6.8 (Final)
Windows端:Windows 10 Professional
Xmanager:Xmanager 5 (Build 0568)
Linux端配置:
1安装gdm:((若已安装则不需安装))
[root@KVM /]# yum install gdm
2 配置系统为图形模式,修改为id:5:initdefault: (若已为5则不需修改)
[root@KVM /]# vim /etc/inittab
3. 编辑/etc/gdm/custom.conf,在[security]和[xdmcp]字段下分别添加如下内容:
[root@KVM /]# vim /etc/gdm/custom.conf
[security] AllowRemoteRoot=true [xdmcp] Port=177 Enable=1
4.关闭Selinux:将SELINUX设置为disabled
[root@KVM /]# vim /etc/sysconfig/selinux
5. 关闭防火墙或在防火墙上打开udp 协议177端口。(重启机器后生效)
[root@KVM /]# service iptables stop [root@KVM /]# chkconfig iptables off
Windows端设置:
1.打开Xmanager5 -->Xbrowser --> XDMCP,刷新当前窗口,系统会扫描到运行gdm的Linux机器。
2.双击机器名称进入登录界面:
3.登录到CentOS桌面。
附:
Xmanager 4.0及5.0通用注册码:101210-450789-147200
Xshell 4.0及5.0通用注册码: 690313-111999-999313
Xftp 4.0及5.0通用注册码:101210-450789-147200
[THE END]