You can use 'Ctrl+Alt+F1/F2/F3/F4' to switch to a virtual text console. And 'Alt+F7'' to come back to GUI.
If you want to quit GUI and enter text console temperarily, you may use "init 3" command (I can't remember clearly, you can have a try). Or you can change the default running level to 3 by modifying /etc/inittab to use text console as you default login interface.
[quote:4a61871537="ritou"]You can use 'Ctrl+Alt+F1/F2/F3/F4' to switch to a virtual text console. And 'Alt+F7'' to come back to GUI.
If you want to quit GUI and enter text console temperarily, you may use "init 3" command (I can't remember clearly, you can have a try). Or you can change the default running level to 3 by modifying /etc/fstab to use text console as you default login interface.[/quote]
[quote:48b9973a2e="rovegan"][quote:48b9973a2e="ritou"]You can use 'Ctrl+Alt+F1/F2/F3/F4' to switch to a virtual text console. And 'Alt+F7'' to come back to GUI.
If you want to quit GUI and enter text console temperarily, you may use "init 3" command (I can't remember clearly, you can have a try). Or you can change the default running level to 3 by modifying /etc/initab to use text console as you default login interface.[/quote]
如何退出X-WINDOWS呢?[/quote]
Just like I said, if you just want to quit GUI/X-WINDOW(NO S) temperarily, try "init 3". If you want to change you login level to pure text mode permanently, you need to change /etc/initab.
# inittab This file describes how the INIT process should set up
# the system in a certain run-level.
#
# Author: Miquel van Smoorenburg, <[email protected]>
# Modified for RHS Linux by Marc Ewing and Donnie Barnes
#
# Default runlevel. The runlevels used by RHS are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
#
id:3:initdefault: #这里以前是5 ,现在改成3 就可以了,想要启动图形界面,就在命令行敲 startx
# System initialization.
si::sysinit:/etc/rc.d/rc.sysinit