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

Jan 08, 2024 pm 06:41 PM
ubuntu 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.

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 of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

What should I do if the Ubuntu terminal cannot be opened? How to fix the problem that Ubuntu cannot open the terminal What should I do if the Ubuntu terminal cannot be opened? How to fix the problem that Ubuntu cannot open the terminal Feb 29, 2024 pm 05:30 PM

It is a very common problem these days that Ubuntu does not allow its users to open the terminal. If you receive a similar issue and don’t know what to do next, learn about five fixes on how to resolve this “Ubuntu cannot open terminal” issue on your Linux device. Without further ado, let’s dive into what causes it and the solutions available to it. Why can't Ubuntu open the terminal on it? This mainly happens when you install some defective software or modify the terminal configuration. In addition to this, new applications or games that interact with locales and corrupt them can cause similar problems. Some users reported a fix for this issue when searching for Terminal in Ubuntu's activity menu. This shows that

Solve the problem of Win11 turning on when the keyboard is touched after shutting down Solve the problem of Win11 turning on when the keyboard is touched after shutting down Jan 29, 2024 pm 06:00 PM

Why does win11 start up as soon as I touch the keyboard after shutting down? Many Win11 users have reported that after shutting down their computer after using it, they found that it automatically turned on as soon as they touched the keyboard. So what is going on? Let this website carefully introduce to users how to solve the problem of Win11 turning on as soon as the keyboard is touched after shutting down. To solve the problem of Win 11 turning on when the keyboard is touched after shutting down, you can try to enter the computer's BIOS or UEFI settings and disable functions such as fast startup or wake-up events to solve the problem of turning on when the keyboard is touched. 2. The USB device wake-up function exists in some USB devices. When you touch the keyboard, they will send a wake-up signal to cause the computer to turn on. To resolve this issue, you can try disabling the wake function for specific USB devices

Log in to Ubuntu as superuser Log in to Ubuntu as superuser Mar 20, 2024 am 10:55 AM

In Ubuntu systems, the root user is usually disabled. To activate the root user, you can use the passwd command to set a password and then use the su- command to log in as root. The root user is a user with unrestricted system administrative rights. He has permissions to access and modify files, user management, software installation and removal, and system configuration changes. There are obvious differences between the root user and ordinary users. The root user has the highest authority and broader control rights in the system. The root user can execute important system commands and edit system files, which ordinary users cannot do. In this guide, I'll explore the Ubuntu root user, how to log in as root, and how it differs from a normal user. Notice

A sneak peek of the seven highlights of Ubuntu 24.04 LTS A sneak peek of the seven highlights of Ubuntu 24.04 LTS Feb 27, 2024 am 11:22 AM

Ubuntu24.04LTS, codenamed "NobleNumbat" will be released soon! If you are using a non-LTS version such as Ubuntu 23.10, sooner or later you will need to consider upgrading. For those using Ubuntu20.04LTS or Ubuntu22.04LTS, it is worth thinking about whether to upgrade. Canonical has announced that Ubuntu 24.04LTS will provide update support for up to 12 years, broken down as follows: As an LTS version, it will have 5 years of regular maintenance and security updates. If you subscribe to Ubuntu Pro, you can enjoy an additional 5 years of support. Currently, this additional support period has been extended to 7 years, which means you will get up to 12

How to shut down and restart Xiaomi Mi 14pro? How to shut down and restart Xiaomi Mi 14pro? Mar 18, 2024 pm 01:20 PM

Xiaomi officially launched a new model Xiaomi 14pro. This mobile phone has a very good appearance and is also equipped with stronger performance configurations. It is worthy of being a flagship mobile phone. Many friends are still very fond of Xiaomi 14pro mobile phone. I am satisfied with it, but I will also encounter problems during use. For example, how to shut down and restart Xiaomi Mi 14pro? Next, the editor of this site will introduce the specific method to you. How to shut down and restart Xiaomi Mi 14pro? Shut down: 1. Press and hold the power button until the "Shutdown" option appears. 2. Click "Shut Down". Restart: 1. Press and hold the power button until the phone turns off and restarts automatically. 2. If the phone is turned off, press and hold the power button again until the phone restarts. Xiaomi 14pr

Ubuntu 20.04 screen recording software OBS installation and uninstallation graphic tutorial Ubuntu 20.04 screen recording software OBS installation and uninstallation graphic tutorial Feb 29, 2024 pm 04:01 PM

OBS is open source software developed by volunteer contributors around the world in their free time. A video live recording software, mainly used for video recording and live streaming. Please note that when installing Ubuntu/Mint, OBSStudio cannot fully work on ChromeOS, and functions such as screen and window capture cannot be used. It is recommended to use xserver-xorg1.18.4 or newer version to avoid potential performance issues with certain features in OBS, such as full-screen projectors. FFmpeg is required. If you don't have FFmpeg installed (if you're not sure, you probably don't), you can get it with: sudoaptinstallffmpeg I already have it installed here

How to shut down vivoxfold3? How to shut down vivoxfold3? Mar 18, 2024 pm 03:37 PM

When using vivoX3 mobile phone, it is important to know the correct shutdown method. Shutdown refers to the operation of turning off the phone completely, which can effectively extend the battery life and ensure the normal operation of the phone. As a user of vivoX3 mobile phone, knowing how to shut down the phone correctly is crucial to the maintenance of your mobile phone. If you want to know more about the correct way to shut down your vivoX3 phone, be sure to continue reading. How to shut down vivoxfold3? 1. Press and hold the power button. When the screen is on, press and hold the power button. The option to shut down or restart will pop up on the screen. Just select "Shut Down". 2. Use the Control Center. With the screen on, bring up the Control Center, and then select "Shut Down." A dialog box will pop up on the screen to confirm the shutdown. Just select "Confirm." 3. Voice assistant.

What is the shortcut key to shut down the computer? What is the shortcut key to shut down the computer? What is the shortcut key to shut down the computer? What is the shortcut key to shut down the computer? Feb 22, 2024 pm 02:34 PM

The shutdown shortcut key for Windows desktop computers is ALT+F4; the shutdown shortcut key for Windows laptops is Alt+Fn+F4; the shutdown shortcut key for Apple computers is Ctrl+Option+Power key. Analysis 1 If it is a Windows desktop computer, the shortcut key for shutting down is ALT+F4. After pressing the key, the shutdown interface will pop up. Simply press the Enter key to complete the shutdown. 2. If it is a Windows laptop, the shortcut key to shut down is Alt+Fn+F4, and then press the Enter key to complete the shutdown. 3. If it is an Apple computer, then the shutdown key is Ctrl+Option+Power key to complete the shutdown. Supplement: What are the computer shortcut keys? 1 The computer shortcut keys are: C

See all articles