1.编辑 sudo gedit /etc/gdm/custom.conf编辑配置文件,设定AutomaticLoginEnable=trueAutomaticLogin=用户名
2.设置其他选项
[daemon]AutomaticLogin下面加这几行
代码: 全选
TimedLoginEnable=true TimedLogin=uptech TimedLoginDelay=10