How can I switch from the window interface to the character-only interface in redhatlinux (which is also valid in everestlinux )?

Source: Internet
Author: User
Redhatlinux (everestlinux has tried and is also effective) how to switch from the window interface to the character-only interface-Linux general technology-Linux technology and application information. The following is a detailed description. How does redhat linux switch from the window interface to the character-only interface?

1. Enter the character page

To directly enter the Console interface when Linux is started, you can edit the/etc/inittab file. Find the line id: 5: initdefault: and change it to id: 3: initdefault: And then restart the system. We can simply change 5 to 3 to convert the X-window Graphic operation interface or Console character interface at startup, this is because the Linux operating system has six different run levels. At different run levels, the system has different states. These six run levels are:

0: Shutdown (remember not to set initdefault to 0, because this will make Linux unable to start)

1: single-user mode, just like the security mode in Win9X.

2: multiple users, but not NFS.

3: full multi-user mode, standard operation level.

4: It is generally not used. In some special cases, you can use it to do something.

5: X11, which means entering the X-window system.

6: restart (remember not to set initdefault to 6, because this will make Linux continuously restart ).

Among them, running level 3 is the standard Console character interface mode we want to enter.

2. Free conversion character interface and X-window graphical interface

After learning about the conversion between the X-window Graphic operation interface and the Console character operation interface, you may think that each of these two operation interfaces has its own advantages, can I be greedy and have these two interfaces at the same time? In a omnipotent Linux operating system, this requirement can certainly be met.

In the X-window Graphic operation interface, press "Alt + Ctrl + function key Fn n = 1 ~ 6 "to enter the Console character operation interface. This means that you can have X-window and six Console character operation interfaces at the same time. This is an exciting thing!

On the Console character operation interface, how does one return to X-window? Simply press "Alt + Ctrl + F7. In this case, seven screens are displayed in Linux by default, numbered tty1 ~ Tty7. After X-window is started, tty7 screen, tty1 ~ Tty6 is still a character screen. That is to say, you can use the "Alt + Ctrl + Fn" combination key to quickly switch between the character interface and the X window Interface.

Linux users all know that X-window is a very convenient graphical interface. It can be operated with the mouse, but it also has many disadvantages: such as slow startup and running speed, insufficient stability, poor compatibility, and easy to crash. However, once an error occurs in the X-window system, it does not cause the entire Linux system to crash and cause data loss or system damage, because when X-window loses response or crashes due to itself or applications, we can easily exit X-window and go to the Console for troubleshooting, all you need to do is press the "Alt + Ctrl + Backspace" key, which means that as long as the system does not lose the response to the keyboard, any problem occurs in X-window, and you can exit easily.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.