linux ubuntu14 更改为root用户登录


设置使用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”


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM