新建 /usr/share/lightdm/lightdm.conf.d/50-no-guest.conf [SeatDefaults] allow-guest=false 转载于:https://www.cnblogs.com/medsci/p/8337987.html