XDMCP connects to OEL6.4 _ X64, xdmcpoel6.4 _ x64

Source: Internet
Author: User

XDMCP connects to OEL6.4 _ X64, xdmcpoel6.4 _ x64

A few days ago, Xmanager was configured at the customer's request, and a lot of related information was searched online. Finally, I tested it based on my own ideas. Some configurations are not required.

I. The lab environment is OEL6.4

Ii. Client Version: Xmanager Enterprise 4

Iii. server operations

1. Modify the running level

Open the/etc/inittab and set the initial running level 5 as follows:
Id: 5: initdefault:

2. Use XDMCP to configure

# Su-root

For TPD

# Vi/etc/TPD/custom. conf
[Security]
AllowRemoteRoot = true
[Xdmcp]
Enable = 1
Port = 177
For KDM:
Open/usr/share/config/kdm/Xaccess and remove the initial "#" character for
Following line:
# * # Change any host can get a login window
* # Any host can get a login window
Open/usr/share/config/kdm/kdmrc and set the Enable entry to true in the [xdmcp]
Section as following.
[Xdmcp]
Enable = true

3. Firewall Configuration

# Su-root

Clear firewall configurations

# Iptables-F

Save Firewall Configuration

# Iptables-L

Stop the Firewall Service

# Service iptables stop

View the Firewall Status

# Service iptables status

Disable auto-start upon startup

# Chkconfig iptables off

4. Disable selinux.

View SELinux status:

A,/usr/sbin/sestatus-v # If The SELinux status parameter is enabled, it is enabled.

SELinux status: enabled

B. getenforce # You can also use this command to check

Disable SELinux:

A. temporarily shut down (no need to restart the machine ):

Setenforce 0 # Set SELinux to permissive Mode

# Setenforce 1 Set SELinux to enforcing Mode

B. To modify the configuration file, restart the machine:

Modify the/etc/selinux/config file

Change SELINUX = enforcing to SELINUX = disabled

Restart the machine.

5. Restart the operating system or related services and start Xmanager.

# Reboot or ga1-restart

We recommend that you restart the operating system to verify whether the firewall is automatically started when it is started.

6. After restarting, you can view the server you want to connect to in Xbrowser. But the premise is that both of them must be in a network segment. If the server and client are not in the same CIDR block, you can manually add or create a new one.


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.