无标题文档
人多不足以依赖,要生存只有靠自己。
      深窥自己的心,而后发觉一切的奇迹在你自己。
          凡事皆有终结,因此,耐心是赢得成功的一种手段。

Ubuntu Kylin14.04终于可以使用root登陆了

Ubuntu Kylin14.04怎样使用root登陆?

方法:找到/usr/share/lightm/ightm.conf.d
         用gedit或者vi 打开50-unity-greeter.conf
         在下面添加greeter-show-manual-login=true   
                       allow-guest=false 
         保存重启就行了。。   在登陆窗口输入root  然后enter  密码 就行了。。。

 

如果你们更新了linuxkylin,以上方法不行了,请su -取得root权限后,gedit /etc/lightdm/lightdm.conf ,增加 
[SeatDefaults]
greeter-session=unity-greeter
user-session=ubuntu
greeter-show-manual-login=true
allow-guest=false  
保存后,重启。。。在登陆窗口输入root  然后enter  密码 就行了。。。
至于有人说找不到这个文件,那么请你不要管那么多,按照上述的操作,系统会自动新建这个文件的。。。

 

开机出现错误“Error found when loading /root/.profile”解决

刚修改完root权限自动登录后,发现开机出现以下提示:

Error found when loading /root/.profile

stdin:is not a tty

…………

解决方法:在终端中用命令gedit /root/.profile,打开文件后找到“mesg n”,

将其更改为“tty -s && mesg n”。

posted @ 2015-09-01 16:50  酷玩时刻  阅读(677)  评论(0编辑  收藏  举报
友情链接:快递查询 快递查询