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”。

相关文章: