Xサーバを停止してブートする
http://superuser.com/questions/1106174/boot-ubuntu-16-04-into-command-line-do-not-start-gui
/etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="text"
$ sudo update-grub $ sudo systemctl disable lightdm.service
元に戻す時
http://askubuntu.com/questions/74551/lightdm-not-starting-on-boot
$ sudo update-grub $ sudo systemctl enable lightdm.service $ sudo dpkg-reconfigure lightdm