RedHat Enterprise Linux 6 configuration Xmanager for graphical interface connectivity

Source: Internet
Author: User
Tags windows remote desktop

We often see several of the most commonly used Windows Remote management Linux server methods, basically using SECURECRT, or putty and other client tools through the SSH service to manage the Linux server under Windows, These client tools require little or no configuration and are simple to use, but none of them can start a program or process for the window service, nor can they achieve Remote Desktop control. This article describes managing Linux through Xmanager Remote Desktop.
Let's start with some knowledge of x systems, and X is a graphics support system used in most UNIX systems. If you use GNOME or KDE on your Linux machine, you are using the X system. It is defined and maintained by the X-Federation (www.X.org). Most Linux users are using the X Window System provided by the XFREE86 Project (www.xfree86.org). XDm is a display manager that provides flexible task management capabilities. However, XDm is often considered a "GUI landing screen that can automatically start my X task" and we will see that it is actually more powerful.
XDM uses X-federated x to display the management control protocol, or XDMCP, to communicate with the X server. It allows the X server to obtain the session service from the server running the XDm service.
When you use XDM to manage these x tasks, it's a bit more complex to set up. But setting up XDm can get the desktop on the local and other servers. We will describe the methods and steps for configuring XDM on the server below, and the configuration described here allows any XDMCP client to access the Linux Servers desktop environment (which of course affects the security of X).

Be sure to under the root administrator:

OK, no nonsense, to configure ()

RedHat Enterprise Linux 6.4 Configuration Xmanager 4

Perform the following actions as an administrator

1, Vi/etc/inittab

Id:5:initdefault://Set the system run level to 5, if it is 5, no need to modify

ID:5:RESPAWN:/USR/SBIN/GDM//Add to last line

2. Then restart X11

Init 3

Init 5

3, vi/etc/gdm/custom.conf

# GDM Configuration Storage

[Daemon]

[Security]

[XDMCP]

Enable=1

[Greeter]

[Chooser]

[Debug]

Add red lines to the corresponding location and/wq save. Reboot.

Client (Windows side): (Note: Sometimes Windows Firewall will also block Xmanager, when prompted to release it)

To install Xmanager 4 on the client, open the Xbrowser, enter the IP address as: 192.168.10.212 can be entered in the Address field

If the firewall is turned on, use the following command to open port 177:

Iptables-a input-p UDP--dport 177-j ACCEPT

Vi/etc/sysconfig/iptables

-A input-m state--state new-m tcp-p TCP--dport 177-j ACCEPT

-A input-m state--state new-m udp-p UDP--dport 177-j ACCEPT

/etc/init.d/iptables restart

Vi/etc/sysconfig/iptables

-A input-m state--state new-m tcp-p TCP--dport 80-j ACCEPT (allow 80 ports via firewall)

-A input-m state--state new-m tcp-p TCP--dport 3306-j ACCEPT (Allow 3306 ports via firewall)

Special Note: Many netizens add these two rules to the last line of the firewall configuration, causing the firewall to fail to start, the correct one should be added to the default 22 port under this rule

After adding the firewall rules as follows:

######################################

# Firewall configuration written by System-config-firewall

# Manual Customization of this file are not recommended.

*filter

: INPUT ACCEPT [0:0]

: FORWARD ACCEPT [0:0]

: OUTPUT ACCEPT [0:0]

-A input-m state–state established,related-j ACCEPT

-A input-p icmp-j ACCEPT

-A input-i lo-j ACCEPT

-A input-m state--state new-m tcp-p TCP--dport 22-j ACCEPT

-A input-m state--state new-m tcp-p TCP--dport 80-j ACCEPT

-A input-m state--state new-m tcp-p TCP--dport 3306-j ACCEPT

-A input-j REJECT--reject-with icmp-host-prohibited

-A forward-j REJECT--reject-with icmp-host-prohibited

COMMIT

#####################################

/etc/init.d/iptables Restart #最后重启防火墙使配置生效

Configure the diagram as:

Special Note: Here is the "--" not "-"

So far, our configuration XDm under Linux has been largely completed. But the above configuration is only x server-side configuration, we want to implement in Windows Remote Desktop Control Linux, also must have the client tool under Windows, Xmanager is such a tool, it is a simple and easy to use high-performance on the Windows platform X Server software. Let's now introduce Xmanager's installation and configuration techniques under Windows, where the machine I'm using is windows7.

Click Xbrowser

Click File-"New-" New XDMCP

Fill in your Host: (Here the Linux IP address, not clear words can be seen in Red Hat command Window knocking IFCONFG)

Click OK

Enter a password to sign in

In this entry you can enter the Linux interface.

RedHat Enterprise Linux 6 configuration Xmanager for graphical interface connectivity

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.