【system setting】 => 【user accounts】
打开
sudo gedit /etc/lightdm/lightdm.conf
添加
autologin-user=username