Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to switch between graphic and character Interface under Linux

Shulou Source: shulou.com Published: 2022-06-01 15:48:05 10月03日 Update

This article mainly explains "how to switch between graphics and character interface under Linux". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to switch between graphics and character interfaces under Linux.

1. Switch from graphical interface to character interface

Press [Alt+Crtl+F1] ~ [Alt+Crtl+F6] under the image interface to switch to the character interface.

two。 Switch from character interface to graphical interface

(1) Press [Alt+Crtl+F7] under the interface to switch to the character interface.

(2) enter the following command on the command line:

The code is as follows:

# startx

3. Set the default startup interface

The default startup interface can be modified by modifying the file / etc/inittab to set the character interface as the default startup interface.

Enter the following command at the command line to open the file / etc/inittab

The code is as follows:

# vi / etc/inittab

Change "id:5:initdefault" to "id:3:initdefault" (5 for graphical interface, 3 for text mode, i.e. text mode)

At this point, I believe you have a deeper understanding of "how to switch between graphics and character interfaces under Linux". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Tags: Interface character switch graphics command code representative content file mode learning input utility deeper interest can be passed image practical practical easy to operate Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple NVidia Redmi vpn Microsoft