1. Shut down the Linux system after the firewall is restarted permanently: on: Chkconfig iptables on off: chkconfig iptables off in immediate effect, after reboot: On: Service iptables start off: Serv Ice iptables stop 2. Shut down the firewall for the client system 3. Add Display=xx to the. bash_profile file under Modify/root. Xx. Xx. xx:0.0 4. Edit/etc/x11/xdm/xaccess will be diverted #* # Any host can get a login window first # removed, i.e. * # Any host can get a login window 5. Modify Added in/etc/gdm/custom.conf [security]: Allowroot=true allowremoteroot=true disallowtcp=false [XDMCP] added: enable=1 Port= 177 6. Modify/etc/inittab to modify id:3:initdefault: to: Id:5:initdefault:5 is started graphically, 3 means start in command Window 7. Make sure/etc/ The property of the X11/xdm/xservers property for 444,/etc/x11/xdm/xsetup_0 is 755 as follows: [[email protected] root]# ls-l/etc/x11/xdm/xsetup_ 0-rwxr-xr-x 1 root root 563 Feb 6 2003/etc/x11/xdm/xsetup_0 [[email protected] root]# ls-l/ETC/X11/XDM/XSERVERS-R--R--R-- &N bsp; 1 root ROOT        &NBsp 487 2003/etc/x11/xdm/xservers if not, use chmod to modify the file permissions chmod 444/etc/x11/xdm/xservers 8. Modify/etc/x11/xdm/ The Xdm-config file will be the last line of the file: displaymanager.requestport:0 before adding! Comment out this line 9. Modify/etc/x11/xdm/xservers on the last line:: 0 local/usr/x11r6/ bin/x comment out this line with the # Sign in front of it [[email protected] root]# vi/etc/x11/xdm/xservers 10. Last Run #xdm and init 6. This allows the use of tools such as Xmanager to connect to Linux by default: [[email protected] root]# ps-ef|grep XDm root 3717 3690 0 22:05 pts/0 00:00:00 grep xdm [[email protected] root]# which xdm/usr/x11r 6/BIN/XDM [[email protected] root]#/usr/x11r6/bin/xdm execute XDm and then view the first line, if not executed/USR/X11R6/BIN/XDM cannot log in with Xmanager [[ Email protected] root]# ps-ef|grep xdm root 3724 1 0 22:06? 00:00:00/usr/x11r6/bin/xdm root 3727 3690 0 22:07 pts/0 00:00:00 grep xdm
xmanager-Unable to connect Linux problem solving method