1. 修改配置文件 vim /etc/ssh/sshd_config 大约在34行的#PermitRootLogin prohibit-password,修改为PermitRootLogin yes 大约在35行的#StrictModes yes,修改为StrictModes yes 2. 重启s
vi /etc/lightdm/lightdm.conf [SeatDefaults] autologin-user=username #需要登录的用户名 autologin-user-timeout=delay