First, the host machine is WINXP and the IP address is 192.168.1.18. Fedora Linux is installed with VMware and the IP address is 192.168.1.252. If hamachi is installed (software that facilitates online games with people), Linux cannot access the Internet. Disable it in "network connection.
Watch the teaching video to achieve mutual access between the two and sacrifice the Telnet weapon. However, no matter whether it is XP or Linux, Telnet cannot be implemented. Think about the solution for a moment (PS: Telnet port number is 23 ):
1. enable the telnet service on the XP system: Right-click "my computer", choose "manage"> "service"> "Telnet", right-click "properties", and click "Manual ", and then enable it.
2. Enable the telnet service in Linux: In "terminal", type chkconfig telnet on.
3. In Windows XP, Telnet Linux: "START" → "run" → cmd. Press enter to enter the command line mode, type "Telnet 192.168.1.252", press enter, and enter the ID and password in Linux. I have a question: Why can't I use root to log on? After login, you can use su root to convert to root login, strange? Find the solution: VI/etc/PAM. d/login file, in auth required/lib/security/pam_securetty.so
Add a # sign before, and comment out the comment.
4. telnet XP in Linux: Open the terminal, type telnet 192.168.1.18, and prompt me to log on. PS: no password is set for the host because it is convenient for a friend to use a computer, because telnet does not allow empty passwords, the root user is added. The group must be set to administrators or a new group named telnetclients and root can be added. Otherwise, the system will prompt "Access Denied: whether the user is a member of telnetclients. The server administrator must add the user to the preceding group. Telnet
The connection has been disabled on the server ". For more information, see http://support.microsoft.com/kb/298060. After the connection is complete, you can connect.