---
title: "电脑发热太凶，减小虚拟机内存，不用图形界面"
author: "chnsslf"
date: "2012-02-23T22:48:10Z"
tags: []
categories: ["操作系统"]
slug: "untitled"
draft: false
lastmod: "2013-03-19T09:26:07Z"
id: 1420614
url: "https://chnsslf.iteye.com/blog/1420614"
---

[http://forum.ubuntu.org.cn/viewtopic.php?t=294168](http://forum.ubuntu.org.cn/viewtopic.php?t=294168)

[http://www.linux99.com/edition/ubuntu/335.html](http://www.linux99.com/edition/ubuntu/335.html)

[http://blog.sina.com.cn/s/blog\_46fc96160100pvn1.html](http://blog.sina.com.cn/s/blog_46fc96160100pvn1.html)

 

主要是以上几篇帖子，总结一下

 

开机进入命令行：

 加入写权限（不一定需要）

sudo chmod +w  /etc/default/grub

 

编辑文件

sudo gedit /etc/default/grub

 

要修改的地方：

把GRUB\_CMDLINE\_LINUX\_DEFAULT="quiet splash"

改为

GRUB\_CMDLINE\_LINUX\_DEFAULT="quiet splash text"

就是加一个text

 

然后保存

 

最后

sudo update-grub

 

 

 

在命令行进入图形界面

sudo /etc/init.d/gdm start

由图形界面退回字符界面

sudo /etc/init.d/gdm stop

 

 2013-03-19

注：按以上方法修改后，启动kvm下的虚拟机（ubuntu11.10）开机后显示不直接进入字符界面，需要按下

alt + F5键才能进入字符登录界面

 

还有字符界面下的关机，重启，注销等

[http://www.linuxidc.com/Linux/2009-05/20134.htm](http://www.linuxidc.com/Linux/2009-05/20134.htm)

[http://www.blogguy.cn/show-628-1.html](http://www.blogguy.cn/show-628-1.html)

 

字符界面中文乱码解决方案（未测试）

[http://306963591.iteye.com/blog/1137942](http://306963591.iteye.com/blog/1137942)