Sunday, June 10, 2007

Useing XDMCP to Login Linux

XDMCP is a protocol for logining xwindow system.
There are some config modified.
1.Active XDMCP
>/etc/X11/gdm/gdm.conf
find lable [xdmcp], edit Enable=0 as Enable=1.
make sure port=177 is avalide.
2.Get X authority
>/etc/X11/xdm/Xaccess
find #* # any host can get a login window, remove the first # to accept all users.
>/etc/X11/xdm/
Comfirm Xservers's authority is 444, Xsetup_0's is 755
3.Modify initialization
>/etc/inittab
make sure id:5:initdefault: init level is 5(xwindow)
add x:5:respawn:/usr/bin/gdm at the bottom to startup gdm at initilization.
4.Startup port 177
>/etc/iptables
There are methods to edit iptables config, but I haven't manege. I just close iptables.

Finaly, restart your Linux, then open xmanger, it works.

No comments: