CentOS XDMCP configuration

Posted on May 15, 2008
Filed Under CentOS | Leave a Comment

1. Server settings

1).Edit /etc/gdm/custom.conf,in order to enable xdmcp:

[xdmcp]

Enable=1

2). If you need root users can log in XDMCP  Using remote desktop  , add

[security]

AllowRemoteRoot=true

3). Open firewall settings:

 Open xdmcp port number: UDP 177,and open TCP ports from 6000  to 6010
Also,you can directly edit /etc/sysconfig/iptables :
-A RH-Firewall-1-INPUT -m state –state NEW -m udp -p udp –dport 177 -j ACCEPT
-A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 6000:6010 -j ACCEPT
Then restart iptables:
/etc/init.d/iptables restart
4). Start to the runlevel GUI:
#init 5
If you  are logining into the GUI, please restart it:
#init 3;init 5
2. Client settings
Use x-win32 to connect the server ,open X-Config, and create a  XDMCP using the wizard.

Tags:

If you enjoyed this post, make sure you subscribe to my RSS feed!

Comments