ubuntu16.04设置开机从命令行启动

设置开机从命令行启动:sudo systemctl set-default multi-user.target
从命令行切换到图形界面:sudo systemctl start lightdm
设置开机从图形界面启动:sudo systemctl set-default graphical.target