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]

       直接按下回车键即可

原文地址:https://www.cnblogs.com/debmzhang/p/3368427.html