ubuntu16 boot into text mode

網路上找的不管用-1

sudo vi /etc/default/grub

  1. #GRUB_CMDLINE_LINUX_DEFAULT=”quite splash”
  2. GRUB_CMDLINE_LINUX=”text”
  3. GRUB_TERMINAL=console
    sudo update-grub
    sudo reboot

for system-enabled desktop only
sudo systemctl set-default multi-user.target
sudo systemctl set-default graphical.target

網路上找的不管用-2

sudo apt-get install rcconf
>uncheck x11-common

disable xwindow 可能不是正確的做法。但是管用

sudo service lightdm stop
sudo systemctl disable lightdm
sudo reboot

關掉螢幕保護

setterm -blank 0 -powerdown 0 -powersave off
xset s off
xset -dpms