Sometimes our Ubuntu cannot log out when logging out of the user desktop. At this time, we can try more logout methods and use whichever one is more useful.
1. Right-click on the ubuntu desktop and "Open Terminal".
2. Then the terminal window will pop up.
3. Enter the following command to log out of the desktop.
$sudo systemctl restart lightdm
4. We can also use another command method.
$sudo pkill Xorg
5. Of course, we can also select the development shutdown button in the upper right corner of the desktop and select "Logout".
6. Then we select "Logout" in the pop-up menu.
related suggestion:
How to configure the top panel in ubuntu16.04 system?
How to set the general launcher bar of Ubuntu 16.04 system?
How to change the custom theme in ubuntu16.04? Two ways to set the theme of ubuntu16.04
The above is the detailed content of Several methods to log out of the desktop in ubuntu16.04. For more information, please follow other related articles on the PHP Chinese website!