以root用户自动登入Kylin麒麟系统 sudo vim /etc/lightdm/lightdm.conf 在后面增加如下两行内容: autologin-user=root autologin-user-timeout=0