Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the two solutions for switching between ubuntu16.04 command-line mode and graphical interface

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

In this issue, the editor will bring you two solutions about ubuntu16.04 command-line mode and graphical interface switching. The article is rich in content and analyzed and described from a professional point of view. I hope you can get something after reading this article.

In ubuntu, we can have two working modes, one is a pure character command line mode, this interface is not so easy to operate, and is more familiar with the command requirements, more suitable for professionals to use, the other mode is the graphical interface, which I believe we are all very familiar with, our commonly used windows system is a typical graphical interface operating system. But friends who want to play linux should contact the command line mode, otherwise it will be difficult for you to gain an in-depth understanding of the working mode of linux and its advantages.

In ubuntu16.04 systems, the default startup is a graphical interface, so when we turn on the computer, we enter the "graphical interface mode" of "ordinary users".

Method 1: use shortcut keys to switch

1, from the graphical interface to the command line mode, we can press ALT+CTRL+F1, -, F6, why F1, -, F6, because there are generally F1 to F6 command line character terminals in Linux, that is to say, we can open up to six command line interfaces at the same time. Here ubuntu16.04 can switch between these multiple interfaces. Since the editor of the command line mode has not yet found the screenshot method, he can only use the picture on the phone. This is the interface of pressing ALT+CTRL+F2, and the command line prompts tty2.

2, of course, the graphical interface also provides us with a command line terminal, if you are not used to pure command mode, you can also use the command terminal, the shortcut key ALT+CTRL+T can call up the terminal, here we can also carry out command line mode editing.

Method 2:

1. Another way is to use a virtual terminal. Click on the ubuntu icon in the lower left corner, search for "xterm", find the "xterm" application, and double-click to open it to pop up a virtual terminal similar to the command line mode.

2, switch from the command line mode to the graphical interface mode, we can press ALT+CTRL+F7, other keys are invalid, do not mistakenly think that F7 can be returned after oh.

3. In addition to using the shortcut ALT+CTRL+F7 to switch from the command mode to the graphical interface, we can also return through the command mode. When we enter the command line mode, we enter the command: startx to switch from the command line mode back to the graphical interface.

4, switch the system login mode, if you want to change to the command character mode to start, studied for a long time, all provided is to change the system configuration, open the terminal, enter the command: sudo gedit / etc/default/grub, that is, use gedit to open the grub file under this path.

5. Here we find GRUB_CMDLINE_LINUX= "", and then change it to GRUB_CMDLINE_LINUX= "text", as shown in the location selected by the editor. Or find GRUB_CMDLINE_LINUX_DEFAULT= "quiet splash" and change it to GRUB_CMDLINE_LINUX_DEFAULT= "quiet splash text".

After the modification, click "Save" in the upper right corner to finish editing.

6. Return to "Terminal", execute the command: sudo update-grub, and update the grub configuration information.

Note: however, the editor has tried both of the above, and the test of Ubuntu Kylin 16.04 LTS version failed.

These are the two solutions shared by the editor for you to switch between ubuntu16.04 command line mode and graphical interface. If you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report