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

How to solve the problem that linux cannot enter the graphical interface

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Unable to enter the graphical interface under linux because Gnome is not installed.

Solution:

1. Type the following command at the command line to install the Gnome package

Yum groupinstall "GNOME Desktop"Graphical Administration Tools"

two。 Update the run level of the system

If you want to automatically enter the graphical interface the next time the system starts, then we need to change the running level of the system and enter the following command to enable the graphical interface.

Ln-sf / lib/systemd/system/runlevel5.target / etc/systemd/system/default.target

There is also a way to set GNOME as the default boot interface (without ctrl+alt+F1)

1. Enter the command line mode of cenos7

two。 The terminal enters "init 3" enter into command line mode

3. Systemctl get-default acquires the current system boot mode after a successful login

View configuration fil

# cat / etc/inittab

As shown above, the system is currently in command line mode

Change mode command:

Systemctl set-default graphical.target

Change from command line mode to graphical interface mode

Systemctl set-default multi-user.target

Change from graphical interface mode to command line mode

Verify whether it is correct after the change: the reboot; interface is as follows:

These are the details of the graphical interface that cannot be accessed under linux. Please pay attention to other related articles for more information.

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