Enable xdmcp Remote Desktop login in CentOS 6.7

Source: Internet
Author: User

Enable xdmcp Remote Desktop login in CentOS 6.7
Preparation: 1, CentOS 6.7 minimal

2. Configure CentOS to access the Internet

Start: 1, yum groupinstall "X Window System"

Yum groupinstall Desktop

Yum groupinstall Chinese-support

Yum install xdm


2. Modify the/etc/X11/xdm/Xaccess file and find the following statement: # * # any host can get a login window,

Remove the # sign at the beginning of this line and become: * # any host can get a login window

3. Modify the/etc/TPD/custom. conf file.

Find the following statement: [xdmcp], and add the following two lines under this sentence:

Enable = true

Port = 177

Under [security], add

AllowRemoteRoot = true

After you modify custom. conf, you must restart the system to make the modification take effect. The specific method is to kill the guid in the process, and then restart the target instance:

#/Usr/sbin/TPD-restart

4. enable port 177 in the firewall; modify the/etc/sysconfig/iptables file,

Add the following two rows to the row-a input-m state -- state NEW-m tcp-p tcp -- dport 22-j ACCEPT.

-A input-m state -- state NEW-m tcp-p tcp -- dport 6000: 6010-j ACCEPT

-A input-m state -- state NEW-m udp-p udp -- dport 177-j ACCEPT

After all, restart the firewall (service iptables restart) to remotely connect to the linux Desktop.

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.