Configure Xmanager3 to connect to RedhatEnterpriseLinux5

Source: Internet
Author: User
There is a RedHatEnterpriseLinux5 machine, but there is no display, each time you want to use it, you need to temporarily connect the display to this machine. Trouble! So remember to configure Xmanager3 so that you can remotely control the Linux machine. Follow these steps to configure Xmanager3. Related configuration file Introduction 1. /usr/share/TPD/defaults. conf ---- GNOME manage the default configuration file 2. /etc/initta has a RedHat Enterprise Linux 5 machine, but there is no monitor, each time you want to use it, you need to temporarily connect the monitor to this machine. Trouble! So remember to configure Xmanager3 so that you can remotely control the Linux machine. Follow these steps to configure Xmanager3.

Related ConfigurationFileIntroduction
1./usr/share/TPD/defaults. conf ---- GNOME manage the default configuration file
2./etc/inittab --- main configuration file of the init process
3./etc/TPD/custom. conf --- custom configuration file of GNOME


ServerConfiguration
1. Change the ults. conf file permission. The default value is read-only.
Chmod 700/usr/share/TPD/defaults. conf

2. Make the following configuration --- edit/usr/share/TPD/defaults. conf

Enable = true

DisplaysPerHost = 10

Port = 177

AllowRoot = true

AllowRemoteroot = true

AllowRemoteAutoLogin = false



3. Make the following configuration --- edit/etc/TPD/custom. conf (this part can be left empty because of the above part)

[Xdmcp]

Enable = 1


Then, restart the system by running the "running the agent" command.
4. Make the following configuration --- edit/etc/inittab (do not modify the original settings, add the following record in the last line)
X: 5: respawn:/usr/sbin/TPD

5. Reload GNOME Desktop configuration
Init 3; init 5


2. If Root is allowedUserTo connect to XMANAGER, modify the following content:


# Vi defaults. conf

[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
# This will allow remote timed login.
AllowRemoteAutoLogin = false
#0 is the most restrictive, 1 allo


# Vi/etc/securetty
......
Tty2
Tty3
Tty4
Tty5
Tty6
Tty7
Tty8
Tty9
Tty10
Tty11
Pts/0
Pts/1
Pts/2
Pts/3
Pts/4

Add these.
Note: I have not configured the following configurations. You can also use xbrowser to access linux machines.

# Vi/etc/pam. d/login

# % PAM-1.0
# Auth [user_unknown = ignore success = OK ignore = ignore default = bad] pam_securetty.so
Auth include system-auth
Account required pam_nologin.so
Account include system-auth
Password include system-auth
# Pam_seLinux. So close shoshould be the first session rule
Session required pam_selinux.so close
Session include system-auth
Session required pam_loginuid.so
Session optional pam_lele.so
# Pam_selinux.so open shoshould only be followed by sessions to be executed in the user context
Session required pam_selinux.so open
Session optional pam_keyinit.so force revoke
~

# Vi/etc/pam. d/remote

# % PAM-1.0
# Auth required pam_securetty.so
Auth include system-auth
Account required pam_nologin.so
Account include system-auth
Password include system-auth
# Pam_selinux.so close shocould be the first session rule
Session required pam_selinux.so close
Session include system-auth
Session required pam_loginuid.so
Session optional pam_lele.so
# Pam_selinux.so open shoshould only be followed by sessions to be executed in the user context
Session required pam_selinux.so open
Session optional pam_keyinit.so force revoke
~
~

# Vi/etc/xinetd. d/telnet

# Default: on
# Description: The telnetServerServes telnet sessions; it uses \
# Unencrypted username/password pairs for authentication.
Service telnet
{
Flags = REUSE
Socket_type = stream
Wait = no
User = root
Server =/usr/sbin/in. telnetd
Log_on_failure + = USERID
Disable = no
}

Then in windowsSystemRun the Xbrowser program in xmanager3, create an Xmanager Session in it, and enter the IP address in the Host. Do not change other configurations (including the port number) and exit. Double-click the New Xmanager Session to view the logon page.

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.