After we are installed by default, we will not be able to use XManager directly to remotely control. You need to modify the following files, then restart X Server, or you can restart your machine.
1. Modify / etc / inittab, change Runlevel to 5, for example [root @ Qredhat etc] # cat / etc / inittab ... ID: 5: INITDEFAULT: ......
2. Modify the GDM profile, / etc / x11 / gdm / gdm.conf, set the enable option in [xdmcp] to 1, for example [root @ Qredhat etc] # cat /etc/x11/gdm/gdm.conf ... [xdmcp] enable = 1
3. Modify the / etc / x11 / xdm / xdm-config file, annotate DisplayManager.Requestport: 0, for example [root @ Qredhat ETC] # CAT / ETC / X11 / XDM / XDM-Config ...! Security: do not listen for xdmcp or chooser requests! Comment Out this line if you want to manage x Terminals with xdm! DisplayManager.Requestport: 0
4. Modify the / etc / x11 / xdm / xaccess file, for example, [root @ Qredhat etc] # cat / etc / x11 / xdm / xaccess ...... * #ny host can get a login window .... .. * Chooser Broadcast #ny Indirect Host Can Get a Chooser
5. Modify the firewall configuration file / etc / sysconfig / ipchains, add the following in the file header, # if you want to use gnome / kde, address -p udp -s 0/0 -d 0 / 0 177 -J ACCEPT
6. Restart Redhat Linux
4, 5 steps can be omitted