|
电脑装ubuntu后拔了显卡,虽然自动运行FAH,但是看不到显示,总觉得心里空落落的,万一出点小问题,又得接显卡和显示器.......
还是安装个telnet方便管理吧。
1、安装xinetd- sudo apt-get install xinetd
复制代码 2、安装telnet守护进程- sudo apt-get install telnetd
复制代码 3、修改配置文件- sudo nano /etc/xinetd.conf
复制代码 使它的内容变成这样(“#”好后的东西可以忽略):- # Simple configuration file for xinetd
- #
- # Some defaults, and include /etc/xinetd.d/
-
- defaults
- {
-
- # Please note that you need a log_type line to be able to use log_on_success
- # and log_on_failure. The default is the following :
- # log_type = SYSLOG daemon info
-
- # start the insert content
- # if I have time, I will add some comments about this part.
- instances =60
- log_type = SYSLOG authpriv
- log_on_success = HOST PID
- log_on_failure = HOST
- cps = 25 30
- # end the insert content
- }
-
- includedir /etc/xinetd.d
复制代码 检查无误后ctrl+o保存,在ctrl+x退出编辑程序
4、添加telnet配置:- sudo nano /etc/xinet.d/telnet
复制代码 内容这样的:- #
- #
- service telnet
- {
- disable = no
- flags = REUSE
- socket_type = stream
- wait = no
- user = root
- server = /usr/sbin/in.telnetd
- log_on_failure += USERID
- }
复制代码 5、完成配置,重启服务:- sudo /etc/init.d/xinetd restart
复制代码 大功告成,可以在windows下命令行或者cmd+r运行:登录管理机器了 |
评分
-
查看全部评分
|