使Linux能被windows下Xmanager看到的配置方法


1. 修改 /etc/X11/xdm/Xaccess,将下面的行:

  #* # any host can get a login window
  改为:
  * # any host can get a login window

  2. 修改/etc/X11/gdm/gdm.conf,找到下面的信息:

  [xdmcp]
  Enable=0 或Enable=false
  修改为:
  [xdmcp]
  Enable=1 或Enable=true

  并确保以下信息存在:
  Port=177

  3: 修改/etc/inittab,将

  id:3:initdefault:
  修改为:
  id:5:initdefault:

  并将最后一行改为:

   #Red Hat
  x:5:respawn:/usr/bin/gdm -nodaemon
  #red hat A3(企业版)
  x:5:respawn:/usr/bin/gdm-binary -nodaemon

  4.如果有防火墙,关闭防火墙,或者修改防火墙配置文件/etc/sysconfig/ipchains (iptables),在文件头部加入如下内容,

  # If you want to use GNOME/KDE, add the following line.
  -A input -p udp -s 0/0 -d 0/0 177 -j ACCEPT

  5. 重新启动 Linux

  服务器配置完成。

相关内容