Home >System Tutorial >LINUX >Troubled by how to solve the problem that ubuntu16.04 cannot shut down
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.
1. Right-click on the ubuntu desktop and "Open Terminal".
2. A terminal window will pop up.
3. Execute the sync command.
$sync
4. Destroy the Xorg process through the pkill command.
$sudo pkill Xorg
5. Then you will return to the login interface.
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.
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!