Skip to content

Instantly share code, notes, and snippets.

@mindcont
Created May 20, 2017 01:43
Show Gist options
  • Select an option

  • Save mindcont/2d2f1cf5c02575c0870372710f3e8e17 to your computer and use it in GitHub Desktop.

Select an option

Save mindcont/2d2f1cf5c02575c0870372710f3e8e17 to your computer and use it in GitHub Desktop.
ubuntu如何卸载图形界面

ubuntu如何卸载图形界面

方法

直接卸载界面

sudo apt-get remove unity

但是这样做依赖的包还在,而且万一以后要用到桌面又很麻烦了,不是很好的办法。

个人觉得比较好的办法是开机不进入图形界面而是直接进入命令行

sudo vim /etc/default/grub

找到

GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash”
改为
GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash text”

更新grub,并重启

sudo update-grub
sudo reboot

参考

ubuntu如何卸载图形界面

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment