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.