ubuntu启动报/root/.profile mesg:ttyname failed错误的解决办法时间:2023-03-09 15:23:41 修改/root/.profile文件,如下命令 sudo gedit /root/profile 将文中的最后一行mesg n修改成tty -s && mesg n