[Ubuntu] 14.04 关闭桌面
For Ubuntu 11.10 and higher
Edit /etc/default/grub with your favorite editor,
sudo nano /etc/default/grub
Find out this line:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
Change it to:
GRUB_CMDLINE_LINUX_DEFAULT="text"
Update Grub:
sudo update-grub
No need to remove / disable lightdm
upstart
conf, it
already does that for you.
lightdm.conf
# Check kernel command-line for inhibitors, unless we are being called
# manually
for ARG in $(cat /proc/cmdline); do
if [ "$ARG" = "text" ]; then
plymouth quit || :
stop
exit 0
fi
done
You will still be able to use X by typing startx
after
you logged in.
本文出自 “orangleliu笔记本” 博客,转载请务必保留此出处http://blog.csdn.net/orangleliu/article/details/43370405
作者orangleliu 采用署名-非商业性使用-相同方式共享协议
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。