Basis RHEL6 Remote Desktop Xmanager configuration

Source: Internet
Author: User
Tags iptables
Part 1. Server Side (Environment: RHEL 6.3)Open the XDMCP configuration file and specify port 177. # vi/etc/gdm/custom.conf # GDM Configuration Storage [daemon] [security] [XDMCP] enable=1 port=177 [greeter] [Chooser] [D Ebug] Configures the iptables of the Redhat firewall. # vi/etc/sysconfig/iptables # Firewall configuration written by System-config-firewall # Manual customization of this FIL E is not recommended. *filter:input ACCEPT [0:0]: FORWARD ACCEPT [0:0]: OUTPUT ACCEPT [0:0]-A input-m State--state established,related-j AC CEPT -A INPUT -p icmp -j ACCEPT -A INPUT -i lo -j ACCEPT -A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT -A input-p UDP--dport 177-j ACCEPT #这里若-I port specified ports can cause a post issue-a input-j REJECT--reject-with icmp-host-prohibited-a F Orward-j REJECT--reject-with icmp-host-prohibited COMMIT reboot iptables # service iptables restart Open XDm # XDM View XDm operation # p S-ef | grep XDM View 177 Port Application # lsof-i:177 View 177 Ports # netstat-an| GREP 177 server How to reboot # reboot Finally, check that the native firewall is off Part 2. ClientXBROWSER-WIZZARD-XDMCP Query-Host address-Port 177

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.