ubuntu启动报/root/.profile mesg:ttyname failed错误的解决办法

修改/root/.profile文件,如下命令

 sudo gedit /root/profile 

将文中的最后一行mesg n修改成tty -s && mesg n

原文地址:https://www.cnblogs.com/it-tsz/p/8648324.html