1.sudo vim /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
2.添加:greeter-show-manual-login=true
3.sudo passwd root(设置root用户密码)
4.reboot