Let's write a comparison between the old and new versions. There are already a lot of information about Fedora8 Remote Desktop on the Internet. In this case, go to the first step of the topic. In Linux, modify the/etc/X11/xdm/Xaccess file and find the following statement: # * # Remove the # At the top of anyhostcangetaloginwindow and set it to the second step. We modify/etc/X11/TPD. conf file. Here, fedor
Let's write a comparison between the old and new versions. There are already a lot of documents on the Internet about ora 8 remote desktop implementation. Go to the topic
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. Here, the fedora8 file is different and there are two files. One is/etc/TPD/custom. conf, find [xdmcp], and add Enable = true or 1 below. The other file is/usr/share/TPD/defaults. conf. 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. The program file is/usr/sbin/MCM.
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: iptables-a input-p udp-s 0/0-d 0/0 -- dport 177-j ACCEPT