ubuntu 14.04:Error found when loading /root/.profile

created at 07-07-2021 views: 58


After modifying to allow the root user to automatically log in, there is an error message when booting:

error found when loading /root/.profile


It has been prompted that it is in this file /root/.profile.

  1. First, open this file and use the command in the terminal: sudo gedit /root/.profile
  2. Then, modify the content and modify the mesg n in the last line to tty -s && mesg n

OK, the problem is solved.

created at:07-07-2021
edited at: 07-07-2021: