To switch back and forth from X to CLI is by using the virtual terminals. You can boot into X and then hit Ctrl+Alt+<Fn> where Fn is a function key from F2 to F6. To return to X is with Ctrl+Alt+F7
http://ubuntuforums.org/showthread.php?t=1480813
in /etc/init/rc-sysinit.conf:
env DEFAULT_RUNLEVEL=3
in /etc/init/gdm.conf:
start on (filesystem
and started hal
and tty-device-added KERNEL=tty7
and (graphics-device-added or stopped udevtrigger)
and runlevel [!3])
stop on runlevel [016]
tech78i is offline
PPS: 在大多数其他 Linux 变体上,您可以通过编辑 /etc/inittab 设置“默认运行级别 3”。
Even if the GUI console is messed up, you can probably to get to text mode) virtual console 1. Similarly, bring you to text-mode virtual consoles 2, 3, 4, ... You can log on to any of them - or any combination of them:
PS: To boot into text-only mode (instead of the GUI), you can do this (provided, of course, you can log on!):
http://ubuntuforums.org/showthread.php?t=1480813
in /etc/init/rc-sysinit.conf:
env DEFAULT_RUNLEVEL=3
in /etc/init/gdm.conf:
start on (filesystem
and started hal
and tty-device-added KERNEL=tty7
and (graphics-device-added or stopped udevtrigger)
and runlevel [!3])
stop on runlevel [016]
tech78i is offline
PPS: On most other Linux variants, you'd set "default runlevel 3" by editing /etc/inittab.
发布评论
评论(3)
要从 X 到 CLI 来回切换,可以使用虚拟终端。您可以启动到 X,然后按
Ctrl+Alt+
,其中 Fn 是从F2
到F6
的功能键。要返回到 X,请使用Ctrl+Alt+F7
To switch back and forth from X to CLI is by using the virtual terminals. You can boot into X and then hit
Ctrl+Alt+<Fn>
where Fn is a function key fromF2
toF6
. To return to X is withCtrl+Alt+F7
通常,
grub
引导加载程序会提供您以恢复模式进行引导Normally the
grub
boot loader offers you to boot in recovery mode即使 GUI 控制台混乱,您也可以进入文本模式)虚拟控制台 1。同样,带您进入文本模式虚拟控制台 2、3、4,...您可以登录到其中任何一个 -或它们的任意组合:
http://en.wikipedia.org/wiki/Virtual_console
PS:
要启动到纯文本模式(而不是 GUI),您可以执行以下操作(当然,前提是您可以登录!):
PPS:
在大多数其他 Linux 变体上,您可以通过编辑 /etc/inittab 设置“默认运行级别 3”。
Even if the GUI console is messed up, you can probably to get to text mode) virtual console 1. Similarly, bring you to text-mode virtual consoles 2, 3, 4, ... You can log on to any of them - or any combination of them:
http://en.wikipedia.org/wiki/Virtual_console
PS:
To boot into text-only mode (instead of the GUI), you can do this (provided, of course, you can log on!):
PPS:
On most other Linux variants, you'd set "default runlevel 3" by editing /etc/inittab.