Recently, learning Linux drivers, installing a Ubuntu10.4 system in VMware, allocated about 700MB of memory.
But there is a problem, because a lot of operations are done under the character command interface, basically rarely use the graphical interface, so, using windowsxp under the virtual network provided by VMware directly connected to the virtual system, so that, It feels like Linux is a command-line interface under Windows. and peacetime situation, generally in the virtual system to execute commands, all to open the VMware interface, feeling is very awkward, and with the method of Telnet, let people feel very kind and real.
However, after Telnet connection, the Xwindow of Ubuntu in VMware is always on, resulting in CPU and RAM consumption. So just think, since useless to the virtual system of the graphical interface, then simply let the virtual system start to shut down Xwindow, and directly to the character command line interface, so that the CPU and RAM occupancy rate is greatly reduced, not fast.
1. Set the boot not to start GDM, but the character command interface:
Operation Process: Execution:
#sudo mv/etc/init/gdm.conf/etc/init/gdm.conf.disable
Note: The gdm.conf will be renamed to Gdm.conf.disable.
As in the character command interface, you need to temporarily restore Xwindow, executable:
#gdm
If you need to restore the system automatically after the start of Xwindow, executable:
#sudo mv/etc/init/gdm.conf.disable/etc/init/gdm.conf
2. After booting into the character command interface in VMware, if you do not play the virtual system for a long time, a reminder box will pop up and the specific content is forgotten. However, the virtual system occupies a large amount of memory down to about 10MB, and later, pop-up reminder box, point "No" after the reminder box has not appeared again, but the following is the virtual system boot into the character interface, the use of memory or about 200MB.
Why the memory used by the previous virtual system can be reduced to about 10MB. (This issue has not been resolved)
Figures: