如果想 Ubuntu 在每次啟動到 command prompt ,可以輸入以下指令:
$echo “false” | sudo tee /etc/X11/default-display-manager
當下次開機時,就會以指令模式啟動,如果想變回啟動 x window,可以輸入:
$echo “/usr/sbin/gdm” | sudo tee /etc/X11/default-display-manager
P.S. 如果不是用 gdm 作為,以上指令需要根據你的環境作出更改,例如 kdm 或 xdm。
上述程式已在Ubuntu 9.04亲测。
转载自:
chinaitlab社区 
佚名

2008-9-9

转载源:http://linux.chinaitlab.com/administer/763020.html
版权所有 罗明