2016년 1월 14일 목요일

x window disable with ubuntu 14.04

disable

cp -n /etc/default/grub /etc/default/grub.enable

vi /etc/default/grub

#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX="text"
GRUB_TERMINAL=console

update-grub

reboot

enable

cp /etc/default/grub /etc/default/grub.disable

vi /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
#GRUB_TERMINAL=console

update-grub

reboot


or

service lightdm start
service lightdm stop

댓글 없음: