After KDE is deleted, you cannot enter X-Window tossing notes.

Source: Internet
Author: User
After KDE is deleted, you cannot go to X-Window to check whether Unity and Gnome-shell are uncomfortable. cinnamon is very popular, but unstable, and often crashes. So I tried a whole KDE desktop. after a few days, I felt too resource-consuming, but it was really pleasing to the eye, but I still couldn't use it...
After KDE is deleted, you cannot go to X-Window to check whether Unity and Gnome-shell are uncomfortable. cinnamon is very popular, but unstable, and often crashes. As a result, I tried a KDE desktop. after a few days, I felt too resource-consuming, but it was really pleasing to the eye, but I was not very used to it. Today, I don't know which Sutra suddenly cannot accommodate it, and I want to take it out. I am too lazy to go to the dependent packages one by one, so I found such a command from the Internet. Www.2cto.com
Shell code sudo apt-get -- purge remove libqt3-mt libqtcore4 looked at the terminal brush to delete a few hundred packages, the heart is very high AH. After Over, sudo reboot won't be able to go into the system, and watched the monitor stay on prompting MySQL and other services to Start successfully ......
Then I started to guess what caused this problem. there is no doubt that it is related to the deleted KDE desktop. what may be wrong during the whole process is that there is a prompt in the middle to select the dm, if you don't want to directly restart the system, you can continue to select kdm. In addition, there is a light ** that you don't remember. YY: The KDM has been deleted, but the default DM configured by the system is still working with KDM. as a result, X-window cannot be entered after restart. I just wanted to directly change it to the target group of the target group. so I decided to press Ctrl + Alt + F1. I found that I didn't install the target group of the target group, this also corresponds to the prompt when I uninstalled the KDM before that there was no gam in the optional DM, but I didn't think about it at the time. Next, we all know that we can install the Domain Name System (MEP) on apt, and then use the following command to change the DM to the Domain Name System (MEP.
It is necessary to change the/etc/default/local file to an English environment during the fix of the Shell code sudo dpkg-reconfigure tpd www.2cto.com, otherwise, the Chinese characters are garbled and cannot see the prompt information or error information. Specifically change the LANG and LANGUAGE in/etc/default/local to the following, of course, the specific encoding method depends on what you use, I am a habitual UTF-8.
Shell code LANG = "en_US.UTF-8" LANGUAGE = "en_US: en", and then look at the next, you can view what DM is currently used by default through/etc/X11/default-display-manager, so you don't have to guess it yourself.
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.