Play XWindow Terminal: Hao Qiang 2002-12-17 friends who have used the Windows 2000 terminal simulation client know that through MSTSC (Terminal Client) to Win2000 Server's terminal server, you can work as WINDOW2000 Server , Use a graphical interface to operate and control your computer. Linux provides this support with XDMCP, and we can easily implement the same function as Win2000 diagrams when using a terminal simulation software such as XManager and simply configured in Linux services. The feeling is really "cool". ! Below I take the Red Hat Linux 7.2 as an example, to describe the configuration and connection process: 1. Prepare: Install Red Hat Linux 7.2 Installation Be sure to select XWindow, this is the basic stuff, do not install it, where is the graphical interface . Oh, on your own machine (client), install the terminal simulation software XManager, install the method (omitted), and there is no difference between the software under the other Windows. 2, start configuration work: Before starting configuration, explain several basic concepts and related command information: (1) XDMCP is (x display monitor protocol (2) XDM is (Manages A Collection of x displays ), Display management set paths in: / etc / x11 / xdm Several files: Xaccess Access Control File xServices Local Display or Remote Display Profile XDM-Config XDM Main Profile (3) We have to do it in xservices file The original content is basically the following form: 0 local / usr / x11r6 / bin / x We join two: 192.168.3.68: 0 foreign192.168.3.63: 1 Foreign indicates that there are two external hosts request xServer (4) The following changes must be made in XDM-Config: DISPLAYMANAGER.REQUESTPORT: 0 This setting is not commented (the front is not! Character), if the comment will not listen, in addition: This file should also be added The following two: DisplayManager * Startup: / etc / x11 / xdm / startupdisplayManager * reset: / etc / x11 / xdm / reset indicates that the startup and reset are the executed file. STARTUP and RESET files are also established with VI. The STARTUP file is as follows: sessreg -a -l $ display -x / usr / x11r6 / lib / x11 / xdm / xservers $ USERRESET file content as follows: sessreg -a -l $ display -X / usr / x11r6 / LIB / X11 / XDM / XServers $ USER can be.
(5) Modifying the Xaccess file content as follows: # * #ny host can get a login window change to * #any host can get a login window (6) The last step, confirm the INITTAB file ID: 5: InitDefault : x: 5: Respawn: / etc / x11 / prefdm -nodaemon restarts Linux3, enable XManage on this machine, after connecting the XManage remote connection on Windows, enters the IP of host Host, connection mode XDM Indriect, a little later, the red cap 7.2 graphic start screen, you can choose KDE or GNOME, huh, it is successful. To this configuration is completed. The above environment is implemented in Red Hat 7.2, Win2000 Server operating system, XManager 1.3.9 environment. Now my machine can connect to Linux, Solaris, cool.
Author: Hao strong QQ: 53748876 Home: www.cjol.com/~windshell-mail: haoq@neusoft.com If you have questions, please contact me.