http://blog.csdn.net/orangleliu/article/details/43370405
一直在用Ubuntu的桌面來做調試環境,最近發現桌面會有崩潰的時候,佔用資源也比較大,所以想把桌面關閉,只用command界面。
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 採用署名-非商業性使用-相同方式共享協議