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

created at 07-07-2021 views: 2

Preface

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

error found when loading /root/.profile

Solution

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

end
OK, the problem is solved.

Please log in to leave a comment.