The difference between rhel5 and rhel4 is that there is no/etc/X11/mcm/directory in rhel5, And the configuration file of rhel5 is put here/usr/share/TPD/ults. conf. Modify the/usr/share/TPD/defaults. conf file to make sure that the file contains the following lines: Enable = trueDisplaysPerHost = 10 Port = 177 and then modify/et.
The difference between rhel5 and rhel4 is that there is no/etc/X11/mcm/directory in rhel5, And the configuration file of rhel5 is put here/usr/share/TPD/ults. conf.
You need to modify the parameters as follows:
Modify the/usr/share/TPD/defaults. conf file to ensure that the file contains the following lines:
Enable = true
DisplaysPerHost = 10
Port = 177
Modify the/etc/inittab file, change the default level to 5, and add the following lines:
X: 5: respawn:/usr/sbin/TPD
After this modification, the root user cannot log on, and the/usr/share/TPD/defaults. conf file must be modified as follows (in red ):
[Security]
# Allow root to login. It makes sense to turn this off for kiosk use, when
# You want to minimize the possibility of break in.
AllowRoot = true
# Allow login as root via XDMCP. This value will be overridden and set
# False if the/etc/default/login file exists and contains
# "CONSOLE =/dev/login", and set to true if the/etc/default/login file exists
# And contains any other value or no value for CONSOLE.
AllowRemoteRoot = true
If the firewall is enabled, run the following command to open port 177:
Iptables-a input-p udp -- dport 177-j ACCEPT
Start with running the agent on the machine running the machine