Xmanager connects to Linux Remote Desktop (add your own part later)

Source: Internet
Author: User
Xmanager connects to Linux Remote Desktop (graphic explanation + test in person)

I am using Redhat Enterprise Linux 5.4 and the latest xmanager performanise3.0. First, let's take a look.What is xmanager?. Xmanager, short for netsarang xmanager, is a set of excellent remote monitoring software abroad. In Unix/Linux and Windows network environments, xmanager is the Best Connectivity Solution. I recommend you download the Enterprise Edition. The Enterprise Edition provides more powerful tools. We use xmanager to connect to Linux Remote Desktop for graphical management. In fact, xbrowser in xmanager is used.Program. Of course, in addition to xbrowser, Linux Remote graphical management also has the same excellent VNC. The following describes how to use xbrowser to connect to a Linux Remote Desktop. I personally tested all of them. Let's take a look!

1. If you have checked the information on the Internet, you will find that Redhat Enterprise Linux 5 and Redhat Enterprise Linux 4 have different xmanager configurations, the former does not have the directory/etc/X11/TPD/, and its configuration file for the latter is stored in/usr/share/TPD/custom. conf.

In fact, I wrote an error online !! This is not custom. conf, But defaults. conf! My Redhat Enterprise Linux 5.4 is like this. Maybe the other 5 Series versions are not the same.

Make sure that the following statements are configured in/usr/share/TPD/defaults. conf (I added these statements directly at the end ):

Enable =TrUE
Displaysperhost = 10
Port = 177

2. Change the default level to 5 in/etc/inittab:
ID: 5: initdefault:

In the last sentence
X: 5: respawn:/etc/X11/preofdm-nodaemon
Change
X: 5: respawn:/usr/sbin/TPD (note that this is sbin, not bin, and the Internet is wrong again, which makes me fail several times before, mom! Fortunately, I found this problem myself later .)

3. log on to xmanager as the root user

After the preceding modification, the root user cannot remotely log on to Linux Through xmanager. He must modify the/usr/share/TPD/defaults. conf file and enable the following in the [Security] field:
Allowroot = true
Allowremoteroot = true
I found that allowremoteroot can be disabled. Check whether my configuration is Fa.LsE, for example:

4. Enable the 177 UDP port of the Linux firewall.

Xmanager uses UDP port 177 to connect to the target instance. Therefore, you must open this port on the firewall, for example:

Restart the system. In this way, you are done! Run the xbrowser program in xmanager3 on Windows, 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 enter the logon interface. after entering the user name and password, you can log on to the Remote Desktop in Linux.

Finally, I will give you a few more LinuxCommand:

Lsof-I: 177
Check whether the operation is successful!

ETC/hosts
View the IP address. Sometimes the connection fails because the IP address configured in your hosts file is incorrect.

/Usr/sbin/TPD-Restart
Restart the agent.

Suggestion: if the above configuration does not allow you to connect to the Linux desktopLinuxThe Remote Desktop is not enabled. Start the Linux system, enter the graphic interface, and click "Remote Desktop" for corresponding settings:

Then, perform the following operations to log on to the Remote Desktop:

    • The size is 104.1 kb.
    • The size is 104.8 kb.
    • View image attachments

Http://www.linuxso.com/linuxpeixun/21830.html

 

PS: This is only intended for those who are not used to using command lines. Some servers do not have a graphical interface. In this case, this configuration is unnecessary. Now I am trying to configure some gui software on some servers without interfaces so that the interface can be displayed in the terminal notebook. This interface should be simulated. The configuration is also simple:

1. Set the environment variable display to the IP address and port of the PC terminal on the host where jmeter is deployed. The command is as follows:

Export display = IP: 0.0

2. Run xmanager-passive in the installed xmanager. The configuration is shown in:

3. Start jmeter on the host where jmeter is deployed (in fact, this means to start jmeter on the simulated interface terminal). The graphic interface is displayed on the PC.

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.