sudo geany /etc/lightdm/lightdm.conf 在[Seat:*]段去掉下面两行的注释‘#’ autologin-user=? autologin-in-background=True