Xmanager Learning 3_centos 6.5 Open xmanager Remote Desktop login __xmanager

Source: Internet
Author: User
Tags iptables

Preparation: 1,centos 6.5 minimal Desktop

2, configure CentOS to access the Internet

Starting: 1, using the command yum install XDM installation XDm

Manage X-Monitor collection with XDMCP support

2, modify the/etc/x11/xdm/xaccess file and find the following statement: # * #any host can get a login window,

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

3, modify the/etc/gdm/custom.conf file.

Locate the following statement: [XDMCP], add the following two lines under this sentence:

Enable=true

port=177

Add under [Security]

Allowremoteroot=true

After modifying the custom.conf, you must restart GDM before it can take effect. The practice is GDM in the kill process and then restart GDM:

#/usr/sbin/gdm-restart

4, open 177 ports in the firewall, modify the/etc/sysconfig/iptables file,

Add the following two lines under the line-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

Small work success, finally restart the firewall (service iptables restart) can experience the remote connection Linux desktop.


Original from: http://www.linuxidc.com/Linux/2014-03/98548.htm

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.