root profile error
I had a problem with my root account on Ubuntu 14.04. when I login by using root account, I received this error:
Error found when loading /root/.profile: stdin: is not a tty
As a result the session will not be configured correctly. You should fix the problem as soon as feasible
Solution 1:
https://bugs.launchpad.net/ubuntu/+source/xen-3.1/+bug/1167281
stdin: is not a tty
due to mesg n
instead of tty -s && mesg n
in .profile
Try the said method to add tty -s &&
in front of the line mesg n
and see if it helps. The difference is, in case your problem is also caused by the mesg n
in yout profile.