Introduction to Linux XDMCP accessing Linux desktop functions is similar to Remote Desktop in Windows

Source: Internet
Author: User

Do you know what Linux XDMCP is? This very advanced application technology will be explained by me. Where is Linux XDMCPNB? I will introduce you to the unlimited field of Linux XDMCP. To configure Linux XDMCP, you can access the Linux desktop using tools such as XMANAGER in WINDOWS. The function is similar to the Remote Desktop in Windows. After my experiments, the configuration method is as follows:

1: # vi/etc/X11/xdm-config add it to the last row: DisplayManager. requestPort: 0! Comment out this line.

2: # chmod + w/etc/X11/xdm/Xservers # vi/etc/X11/xdm/Xservers on the last line :: 0 local/usr/X11R6/bin/X comment out this line with the # sign added before it.

3: # vi/etc/X11/xdm/Xaccess find # any host can get a login window remove the # sign in front of this line and change it to: # any host can get a login window
Note: In RHEL4/Fedora, if there is no Xservers file because the xorg-x11-xdm package is not installed, you can find it in the third disc of RHEL4, And you can install it through the yum install xorg-x11-xdm under Fedora.

4: Modify/etc/X11/gestational disease/gmt1. conf file. Note that this file may also be/etc/TPD/custom. in [xdmcp], add Enable = 1 or Enable = true.

5. Modify the/etc/inittab File id: 3: initdefault to id: 5: initdefault. Some linux versions are id: 5: initdefault and do not need to be changed)

6: Modify the firewall. If the firewall is disabled, you do not need to modify it: iptables-a input-m state -- state NEW-m udp-p udp -- dport 177-j ACCEPT.

7: Enter the xdm command to start the xdm service. Now, you can remotely log on to RHEL4/Fedora using tools such as xmanager in windows. [The green section above is the revised version in December 21, 7th steps are not missing. Although the machine can connect normally after the server is restarted, it is terrible for important network servers (such as website hosts) to restart, therefore, you must add this part so that you can connect to the Linux XDMCP without restarting the machine. In addition, we need to note that there is no yum component in RHEL4, the Fedora 9 used by the author is installed with yum by default, which is hereby noted]

8: If you want to automatically start xdm each time, go to/etc/rc. d/rc. add the local file tail. /etc/X11R6/bin/xdm (execute the xdm script and the path may be inconsistent. You can use which xdm to find it) [color = # 0000FF]

9: In addition, I am a newbie, so Selinux is switched off in the test system (I will try again later, but it is not recommended to do this on an internet or online server ), for more information, see Google. So there is no Selinux problem. How to Set selinux when it is enabled? The younger brother is studying it. Please kindly advise me !! Windows client settings

10: connect to Xmanager Enterprise 3, open Xbrowser, create a New Xmanager Session, and select XDM Query in the Method option box under Linux XDMCP in the New Xmanager Session Properties, enter the ip address of the Linux Host, Port Number (Port Number) is 177, and keep the default value for others. Click "OK. Note that the local port 6000 must be enabled in the Windows Client Firewall. [Color = # 0000FF]

11: double-click the New Xmanager Session connection. Then, you can see the logon and password input boxes.
[The above blue part is the revised part of the text on April 9, December 12]
[The following Blue section is also the revised text of April December 12]
In fact, Linux XDMCP is indeed easy to set up, but many articles on the Internet are either incomplete or too professional (for me to wait for cainiao ), as a result, I also Google for n days to collect the information and complete this test. However, it is important to note that it is difficult to use and run on the Internet because X Window executes a large amount of data, it is more suitable for applications in LAN (this sentence is referenced in page 311st of "laruence's Linux private kitchen server (second edition)". I have actually tested it, BTW's test environment is as follows: X Client is the Linux host of the controlled end 2 m Shenzhen Telecom adsl OS is Fedora 9 (Sulphur ); X Server is a Windows host on the master side. 2 m Shenzhen Great Wall Broadband lan OS is Windows XP Server Pack3, and the control software is Xmanager Enterprise 3 ).

  1. Linux mplayer uses configuration files and loads subtitles
  2. Install the Linux PPStream System in Fedora to compile and install the package Library
  3. Linux chromium cannot be used through yum Installation
  4. Describes how to install PPStream in Linux.
  5. Run the Linux kernel and start Fedora.

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.