使用root账户登录时候报Error found when loading /root/.profile错误终端输入:nano /root/.profilemesg n 进行注释,在前面加上# 增加一行 tty -s && mesg n,ctrl+x 保存并退出,输入Y,回车。 重启系统 终端输入 init 6