close
I initially followed the answer from Oli, but the VM complained about running in low-graphics mode. I think Oli turned off/changed a few too many things by clearing greeter-session. In my case, I want the UI to run. To enable this, only required adding two lines to the /etc/lightdm/lightdm.conf
file.
autologin-user=<username>
autologin-user-timeout=0
so the complete file looks like:
[SeatDefaults]
greeter-session=unity-greeter
user-session=ubuntu
autologin-user=<username>
autologin-user-timeout=0
to test your changes without rebooting sudo service lightdm restart
全站熱搜