Ubuntu启动时直接进入命令行模式

 直接粘命令吧

sudo vim /etc/init/lightdm.conf

注释掉下面的内容

start on ((filesystem
 and runlevel [!06]
 and started dbus
 and (drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1
 or stopped udev-fallback-graphics))
 or runlevel PREVLEVEL=S)

#start on ((filesystem
# and runlevel [!06]
# and started dbus
# and (drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1
# or stopped udev-fallback-graphics))
# or runlevel PREVLEVEL=S)

重启

sudo reboot 

 

注:1.使用系统为ubuntu1304 64bit

     2.启动后如果命令行如下

       ubuntu login: * Starting [ok]

       直接按下回车键即可

 

posted @ 2013-10-14 15:09  Debm.Zhang  阅读(1035)  评论(0编辑  收藏  举报