Article Title: fedora8 Remote Desktop. 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.
Let's write a comparison between the old and new versions. There are more than n documents on the Internet. 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
400) {this. resized = true; this. width = 400; this. alt = 'click here to open new window';} "border = 0 twffan =" done ">
Remove the # At the beginning and become
400) {this. resized = true; this. width = 400; this. alt = 'click here to open new window';} "border = 0 twffan =" done ">
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. another file is/usr/share/TPD/defaults. find the following statement in conf:
400) {this. resized = true; this. width = 400; this. alt = 'click here to open new window';} "border = 0 twffan =" done ">
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.
400) {this. resized = true; this. width = 400; this. alt = 'click here to open new window';} "border = 0 twffan =" done ">
Step 3: Modify the/etc/inittab file and run the following statement:
400) {this. resized = true; this. width = 400; this. alt = 'click here to open new window';} "border = 0 twffan =" done ">
If it is id: 5: initdefault:, you do not need to change it.
400) {this. resized = true; this. width = 400; this. alt = 'click here to open new window';} "border = 0 twffan =" done ">
At the same time, find the place where the text is located
400) {this. resized = true; this. width = 400; this. alt = 'click here to open new window';} "border = 0 twffan =" done ">
Change it to x: 5: respawn:/usr/bin/TPD, as shown in. The program file is/usr/sbin/TPD.
(400) {this. resized = true; this. width = 400; this. alt = 'click here to open new window';} "border = 0 twffan =" done "resized =" true ">
Step 4: Modify the last line of/etc/X11/xdm-config and add one before displayManager. requestPort: 0! The result is as follows:
400) {this. resized = true; this. width = 400; this. alt = 'click here to open new window';} "border = 0 twffan =" done ">
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.
400) {this. resized = true; this. width = 400; this. alt = 'click here to open new window';} "border = 0 twffan =" done ">
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