1. ipchains / iptables configuration, simply use > iptables -F
2. ssh, ping or others to check the remote host is online
3. let xdmcp open listen to port 177. edit /etc/X11/xdm/xdm-config and comment out
DisplayManager.requestPort: 0
to
! DisplayManager.requestPort: 0
4. the host/ip allowed to access xdmcp. edit /etc/X11/xdm/Xaccess and modify
#* # any host can get a login window
to
#* # any host can get a login window
5. xdmcp start to work. edit /etc/X11/gdm/custom.conf and add line after [xdmcp]
Enable=true
looks like:
[xdmcp]
Enable=true
custom.conf is cofiguration of gdm in version 2.20.3. the configuration file
of old gdm release is named by gdm.conf. see man gdm for more info
6. check /etc/X11/xdm/Xservers is set to 444
check /etc/X11/xdm/Xsetup_0 is set to 755
7. start gdm server at console. > /usr/sbin/gdm
if gdm is runing before configuration is modified, use this command to restart > /usr/sbin/gdm-restart
8. with Xming X Window Server , login linux free in ms windows . refer to here
to learn more about Xming. otherwise XManager , a business software with
trial version, can be used to explore linux, too.
reference:
http://blog.chinaunix.net/u2/87597/showart_1897982.html
http://projects.gnome.org/gdm/docs/2.18/overview.html#xdmcp
http://www.faqs.org/docs/Linux-HOWTO/XDMCP-HOWTO.html#AEN46
2868

被折叠的 条评论
为什么被折叠?



