Article Title: Use xmanager Remote Desktop to control Linux in Windows (figure ). Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
With the rapid development of the Internet and the maturity of Linux enterprise applications, Linux is widely used in the server field. How to implement remote management of Linux becomes the primary task of network administrators. We often see several of the most common methods to remotely manage Linux servers in windows, basically using SecureCRT, f-Secure SSH, PUTTY, and other client tools use the ssh service to manage Linux servers in Windows. These client tools almost do not require any configuration and are easy to use, however, they cannot start the program or process of the window service or achieve Remote Desktop control. This article describes how to control Linux Through xmanager Remote Desktop. The Linux system mentioned in this article takes RedHat 9.0 As An Example unless otherwise stated.
There are two ways to remotely manage the Linux desktop window, one of which is the X display manager or xdm we selected, and the other popular solution is vnc. I chose xdm instead of vnc for two reasons. First, vnc must have a daemon on the server to run on each shared desktop. Second, I already have X server software installed on all workstations and don't want to add any additional client software.
Let's first take a look at some knowledge of X systems, which are used in graphics support systems 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.org (www.X.org. Most Linux users use the X Window System provided by the XFree86 Project (www.xfree86.org. Xdm is a display manager that provides flexible task management functions. However, xdm is generally regarded as a "GUI login screen that can automatically start my X tasks" and we will see that it is actually more powerful.
Xdm uses the X Display Management Control Protocol (XDMCP) of x to communicate with X servers. 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, the settings are somewhat complicated. However, when xdm is set, you can get the desktop on the local server and other servers. The following describes how to configure xdm on the server. The configuration described here allows any XDMCP client to access the Linux Server Desktop Environment (which affects X Security of course ).
Step 1: in Linux, modify the/etc/X11/xdm/Xaccess file and find the following statement: # * # any host can get a login window
Remove the # At the beginning and become
Step 2: Modify the/etc/X11/TPD. conf file and find the following statement:
Change Enable = false to Enable = true or Enable = 1.
At the same time, make sure that the following statement exists, because port 177 is the listening port of the xdmcp service we want to configure. We will see it After configuring xmanager.
Step 3: Modify the/etc/inittab file and run the following statement:
If it is id: 5: initdefault:, you do not need to change it.
At the same time, find the place where the text is located,
Change it to x: 5: respawn:/usr/bin/TPD, as shown in,
Step 4: Modify the last line of/etc/X11/xdm-config and add one before displayManager. requestPort: 0! The result is as follows:
Step 5: Make sure that the attribute of/etc/X11/xdm/Xservers is 444, and that of/etc/X11/xdm/Xsetup_0 is 755. in RedHat 9.0, we can see that the default attributes of these two files are 444 and 775, so you do not need to modify them.
Finally, if our Linux machine is configured with a firewall, we must add the following rules to prevent the firewall from worrying over the data on port 177 (xdmcp service:
So far, we have basically completed the xdm configuration in Linux. However, the above configuration is only the configuration of the x server. To control Linux in Windows Remote Desktop, you must
Xmanager is an easy-to-use, high-performance X Server software running on Windows platforms. Now we will introduce the installation and configuration skills of xmanager in Windows. Here I am using windows xp.
We first download the xmanager installation file. I downloaded xmanager1.3.9. After the installation, under the installation directory, click xconfig and select xdm. For example, select "XDM Indirect" and go to host: enter the ip address of the Linux system we have configured. Note the following XDMCP Port: 177, which is why we must ensure port = 177 When configuring the Linux server.
Then, double-click xmanager in the installation directory of xmanager. The following figure is displayed,
Select the linux machine in the figure and click "Connect" to connect to our redhat to log on to the desktop.
Enter the user name. After confirmation, the system will prompt you to enter the password. After the verification is successful, you can use our redhat desktop. The effect is as follows:
This article introduces how to control Linux Through Remote Desktop through xmanager in windows, and introduces the configuration and usage of xdm and xmanager in detail, hoping to help you.
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.