Home >System Tutorial >LINUX >Troubled by how to solve the problem that ubuntu16.04 cannot shut down

Troubled by how to solve the problem that ubuntu16.04 cannot shut down

WBOY
WBOYforward
2024-01-08 18:41:47978browse

I recently installed ubuntu16.04 and found that it would get stuck when I shut down and log out. I had to press the power button to cut off the power every time. Later I found that I could shut down and restart through the following method. How to solve this problem? Let’s take a look at the detailed tutorial below.

ubuntu无法正常关机卡住了怎么办? ubuntu16.04无法关机的解决办法

1. Right-click on the ubuntu desktop and "Open Terminal".

ubuntu无法正常关机卡住了怎么办? ubuntu16.04无法关机的解决办法

2. A terminal window will pop up.

ubuntu无法正常关机卡住了怎么办? ubuntu16.04无法关机的解决办法

3. Execute the sync command.

$sync

ubuntu无法正常关机卡住了怎么办? ubuntu16.04无法关机的解决办法

4. Destroy the Xorg process through the pkill command.

$sudo pkill Xorg

ubuntu无法正常关机卡住了怎么办? ubuntu16.04无法关机的解决办法

5. Then you will return to the login interface.

ubuntu无法正常关机卡住了怎么办? ubuntu16.04无法关机的解决办法

6. Click the button in the upper right corner, select "Shutdown" in the menu, and select Shutdown in the pop-up window to shut down.

ubuntu无法正常关机卡住了怎么办? ubuntu16.04无法关机的解决办法

ubuntu无法正常关机卡住了怎么办? ubuntu16.04无法关机的解决办法

The above is the detailed content of Troubled by how to solve the problem that ubuntu16.04 cannot shut down. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:jb51.net. If there is any infringement, please contact admin@php.cn delete