进入到/etc/gdm目录下
编辑custom.conf文件
在[daemon]下面追加两条AutomaticLoginEnable=trueAutomaticLogin=需要登陆的用户名
保存退出,重启就ok