The specific method is as follows:
1. sudo apt-Get install xinetd telnetd
2. After the installation is successful, the system will prompt accordingly,
Sudo Vim/etc/inetd. conf and add the following line
Telnet stream tcp Nowait telnetd/usr/sbin/tcpd/usr/sbin/in. telnetd3. sudo Vim/etc/xinetd. conf and add the following content: # simple configuration file for xinetd # Some ults, and include/etc/xinetd. d/defaults {# Please note that you need a log_type line to be able To uselog_on_success # And log_on_failure. the default is the following: # log_type = Syslog daemon infoinstances = 60log_type = syslog authprivlog_on_success = Host pidlog_on_failure = hostcps = 25 30} includedir/etc/xinetd. d
4. Add the following content to sudo Vim/etc/xinetd. d/telnet:
# default: on# description: The telnet server serves telnet sessions; it uses \# unencrypted username/password pairs for authentication.service telnet{disable = noflags = REUSEsocket_type = streamwait = nouser = rootserver = /usr/sbin/in.telnetdlog_on_failure += USERID}
5. Restart the machine or restart the network service sudo.
/Etc/init. d/xinetd restart.
Ubuntu errors
Failed to load session "ubuntu" error solution:
Install apt-Get install unity-2d-launcher gnome-session
Install IIS
Sudo apt-Get update
Sudo apt-Get install TPD
Lightdm is used by default.