The solution that ubuntu cannot enter the graphical interface after booting

The solution that ubuntu cannot enter the graphical interface after booting

Cause research:

During the operation on ubuntu, I received a reminder that the disk space was insufficient, and I made a mistake in my judgment. The first reaction was to restart the OS directly.

When ubuntu starts, it stays at a black screen, and the only error message is:

piix4_smbus 0000:00:007.3: Host SMBus controller not enabled!

After investigation it was found that:

A secondary function of piix4 is to implement the SMBus, which we cannot access at the I2C level.
Cause of error VMware doesn't actually provide that level of interface for CPU access, but Ubuntu tries to load that kernel module (piix4). So an error will be reported, but this error has no effect on the system .

Conclusion: The above error message is not the reason for not being able to enter the desktop.

Restart again, when the Ubuntu icon appears, press CTRL + ALT + F3 to try to enter the TTY interface

The concept of TTY is slightly complicated, and it is simply regarded as an interactive command line terminal that does not need to be entered through a graphical interface

Just found the real error message:

[Failed] Started GONEM Dispaly Manager

It is speculated that there is not enough disk space to enter the graphical interface

solution:

Restart Ubuntu on Vmware. At the moment of startup, click the interface with the mouse and press and hold the shift key to enter the GNU GRUB interface;

Select Advanced options for Ubuntu;

Enter recovery mode;

Select clean; ( make room for Ubuntu temporary startup )

then resume;

After successfully restarting the desktop, start the terminal, use the following commands to query the disk space occupation, and clear unnecessary memory.

du -sh
du -lh --max-depth=1

After restarting Ubuntu, enter the graphical interface smoothly, and the problem is solved.

2023.3.1

Guess you like

Origin blog.csdn.net/watershed1993/article/details/129281817