關於 PHP, Linux, Open Source 及個人生活記載的網誌。
RSS icon
  • 以文字模式啟動 Ubuntu

    Posted on January 31st, 2006 Sam Tang 1 comment

    如果想 Ubuntu 在每次啟動到 command prompt ,可以輸入以下指令:

    $echo “false” | sudo tee /etc/X11/default-display-manager

    當下次開機時,就會以指令模式啟動,如果想變回啟動 x window,可以輸入:

    $echo “/usr/bin/gdm” | sudo tee /etc/X11/default-display-manager

    P.S. 如果不是用 gdm 作為,以上指令需要根據你的環境作出更改,例如 kdm 或 xdm。


     

    One response to “以文字模式啟動 Ubuntu”

    1. /usr/bin/gdm 也许应该为 /usr/sbin/gdm

    Leave a reply

    *
    To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
    Click to hear an audio file of the anti-spam word