在刚修改完root权限自动登录后,发现开机出现以下提示:
Error found when loading /root/.profile
stdin:is not a tty
=======================================================================
解决方法:在终端中用命令gedit /root/.profile,打开文件后找到“mesg n”,
将其更改为“tty -s && mesg n”。
本文介绍了解决开机提示Error found when loading /root/.profile 和 stdin: is not a tty的问题。通过修改/root/.profile文件中的mesgn为tty -s && mesgn,成功解决了开机时出现的错误。
在刚修改完root权限自动登录后,发现开机出现以下提示:
Error found when loading /root/.profile
stdin:is not a tty
=======================================================================
解决方法:在终端中用命令gedit /root/.profile,打开文件后找到“mesg n”,
将其更改为“tty -s && mesg n”。

被折叠的 条评论
为什么被折叠?
