开启VNC的时候mesg: ttyname failed: Inappropriate ioctl for device

来源:互联网 发布:变性手术知乎 编辑:程序博客网 时间:2024/04/29 22:47
  1. 以root用户登陆,打开命令行终端
  2. 输入命令:#vim /root/.profile
  3. 找到.profile文件中的mesg n
  4. 将其替换成tty -s && mesg n
  5. 重启ubuntu,问题解决
0 0
原创粉丝点击