設置使用root用戶登陸
首先要修改root的登陸密碼sudo passwd root
1、輸入sudo gedit /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
2、在彈出的文本框中輸入
[SeatDefaults]
user-session=ubuntu
autologin-user=root
greeter-session=unity-greete
greeter-show-manual-login=true
allow-guest=false
Error found when loading /root/.profile
stdin:is not a tty
…………
ubuntu 14.04開機出現錯誤“Error found when loading /root/.profile”解決
解決方法:在終端中用命令sudo gedit /root/.profile,打開文件后找到“mesg n”,
將其更改為“tty -s && mesg n”