Remote connection to RedHatLinuxAS5 through Xmanager

Source: Internet
Author: User
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

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.