1:首先安装x window:
yum groupinstall 'X Window System'
2:然后安装一个桌面,我选择安装gnome
yum groupinstall 'GNOME Desktop Environment'
3:安装gdm
yum install gdm
4:配置gdm,编辑/etc/gdm/custom.conf,在security和xdmcp按以下方式配置
[security]
AllowRemoteRoot=true
[xdmcp]
Enable=true
5:gdm-restart
6:配置xlaunch,应该能从windows访问centos桌面了
7:配置secure-crt
选择菜单options->session options...
选择Connection->Port forwarding->Remote/X11
选中Forward X11 packets
还有个ssh的配置参考http://www.7dtest.com/site/html/39/t-4239.html,我这里不需要就不写了
8:关闭secure-crt,重启
9:启动xming
10:启动eclipse