$ sudo systemctl set-default multi-user.target
$ sudo systemctl start lightdm
$ systemctl set-default graphical.target
来源:Ubuntu开机时直接进入命令行模式
Ubuntu 16.04 设置开机命令行模式
原文:https://www.cnblogs.com/notfound/p/12359424.html