Use xmanager to connect to centos

Source: Internet
Author: User

Use xmanager to connect to centos

1. Take connecting to Centos6.5 as an example to disable the firewall first.

# Service iptables stop

# Chkconfig -- level 345 iptables off

2. Install XDM and use XDMCP to Manage X Display Sets

# Yum install xdm

3. Modify the/etc/X11/xdm/Xaccess file and find the following statement:

  1. # * # Anyhostcangetaloginwindow

Remove the # At the beginning of the line and make it:

  1. * # Anyhostcangetaloginwindow

4. Set the system to graphical mode and edit/etc/inittab,

# Vi/etc/inittab
  1. Id: 5: initdefault:
// Set the system running level to 5. If it is 5, no modification is required.

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

Find the following statement:

  1. [Xdmcp]

Add the following two lines to the sentence:

  1. Enable = true
  2. Port = 177

In

  1. [Security]

Add

  1. 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

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.