原创作品,出自 “深蓝的blog” 博客,欢迎转载,转载时请务必注明以下出处,否则追究版权法律责任。
深蓝的blog:http://blog.csdn.net/huangyanlong/article/details/40979611
实验环境
实验平台 |
WIN7 旗舰版 64bit |
虚拟机软件 |
VM VirtualBox 4.2 |
虚拟操作系统 |
CentOS5.6 64bit |
远程桌面软件 |
Xmanager Enterprise 4 |
一、总结过程记录
(1)、修改custom.conf
[root@xckydb ~]# vi /etc/gdm/custom.conf
--向xdmcp添加信息,把Enable=0改为Enable=1
(2)、修改Xaccess
[root@xckydb ~]# vi /usr/share/config/kdm/Xaccess
--把“#*#any host can get a login window”这行信息前#去掉
(3)、修改kdmrc
[root@xckydb ~]# vi /usr/share/config/kdm/kdmrc
--把Xdmcp下将Enable改为true(Enable=true)
(4)、重启系统
[root@xckydb ~]# reboot
(5)、查看177端口
[root@xckydb ~]# netstat -na|grep 177
--XDMCP服务对应的端口为177
udp 0 0 0.0.0.0:177 0.0.0.0:*
(6)、使用Xmanager软件Xbrowser实现远程桌面LINUX系统
包括配置文件的全部内容及操作截图,参考如下“详细过程记录”。
二、详细过程记录
1. 修改LINUX系统设置
(1)、修改custom.conf
[root@xckydb ~]# vi /etc/gdm/custom.conf
--向xdmcp添加信息,把Enable=0改为Enable=1
--custom.conf文件内全部内容如下
GDM Configuration Customization file.
#
# This file is the appropriate place for specifying your customizations to the
# GDM configuration. If you run gdmsetup, it will automatically edit this
# file for you and will cause the daemon and any running GDM GUI programs to
# automatically update with the new configuration. Not all configuration
# options are supported by gdmsetup, so to modify some values it may be
# necessary to modify this file directly by hand.
#
# Older versions of GDM used the "gdm.conf" file for configuration. If your
# system has an old gdm.conf file on the system, it will be used instead of
# this file - so changes made to this file will not take effect. Consider
# migrating your configuration to this file and removing the gdm.conf file.
#
# To hand-edit this file, simply add or modify the key=value combination in
# the appropriate section in the template below. Refer to the comments in the
# /usr/share/gdm/defaults.conf file for information about each option. Also
# refer to the reference documentation.
#
# If you hand edit a GDM configuration file, you should run the following
# command to get the GDM daemon to notice the change. Any running GDM GUI
# programs will also be notified to update with the new configuration.
#
# gdmflexiserver --command="UPDATE_CONFIG <configuration key>"
#
# e.g, the "Enable" key in the "[debug]" section would be "debug/Enable".
#
# You can also run gdm-restart or gdm-safe-restart to cause GDM to restart and
# re-read the new configuration settings. You can also restart GDM by sending
# a HUP or USR1 signal to the daemon. HUP behaves like gdm-restart and causes
# any user session started by GDM to exit immediately while USR1 behaves like
# gdm-safe-restart and will wait until all users log out before restarting GDM.
#
# For full reference documentation see the gnome help browser under
# GNOME|System category. You can also find the docs in HTML form on
# http://www.gnome.org/projects/gdm/
#
# NOTE: Lines that begin with "#" are considered comments.
#
# Have fun!
[daemon]
[security]
[xdmcp]
Enable=1
</span>[gui]
[greeter]
[chooser]
[debug]
# Note that to disable servers defined in the defaults.conf file (such as
# 0=Standard, you must put a line in