分享一下我老师大神的人工智能教程!零基础,通俗易懂!http://blog.csdn.net/jiangjunshow
也欢迎大家转载本篇文章。分享知识,造福人民,实现我们中华民族伟大复兴!
原创作品,出自 “深蓝的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 this file that says 0=inactive, as# described in the Configuration section of the GDM documentation.#[servers]# Also note, that if you redefine a [server-foo] section, then GDM will# use the definition in this file, not the defaults.conf file. It is# currently not possible to disable a [server-foo] section defined# in the defaults.conf file.#
(2)、修改Xaccess
[root@xckydb ~]# vi /usr/share/config/kdm/Xaccess
--把“#*#any host can get a login window”这行信息前#去掉
改之前:
改之后:
--Xaccess文件内全部内容如下
# $XdotOrg: app/xdm/config/Xaccess,v 1.2 2004/04/23 19:54:43 eich Exp $# $Xorg: Xaccess,v 1.3 2000/08/17 19:54:17 cpqbld Exp $# $XFree86: xc/programs/xdm/config/Xaccess,v 1.4 2003/07/09 15:27:40 tsi Exp $## Access control file for XDMCP connections## To control Direct and Broadcast access:## pattern## To control Indirect queries:## pattern list of hostnames and/or macros ...## To use the chooser:## pattern CHOOSER BROADCAST## or## pattern CHOOSER list of hostnames and/or macros ...## To define macros:## %name list of hosts ...## To control which addresses xdm listens for requests on:## LISTEN address [list of multicast groups ... ]## The first form tells xdm which displays to respond to itself.# The second form tells xdm to forward indirect