About the solution that Ubuntu does not boot into the desktop

Source: Internet
Author: User

Install the compilation tool chain, modify the environment variables after the restart, may be due to misoperation caused by the power-on input password can not enter the desktop.

Press CTRL+ATL+F1 to enter the console.


Try the following methods to resolve

Method 1:

1, enter the system (in the input password of the interface)
2), hold down Ctrl+alt+f1 (F1~f7 is a different mode, the first 6 for console mode)
3), according to the prompts to enter the user name, password
4), enter etc directory (CD/ETC)
5), Edit profile file (/usr/bin/sudo VI profiles)
6, delete the inside of the code you added to the problem (check the X key to delete)
7), Save and exit (type shift+: Wq and enter)
8), repeat 2 to enter the window interface password can be


Method 2:

First, edit the sudo vi/etc/default/grub file and find the following line:
grub_cmdline_linux_default= "Quiet Splash"
Comment It out (available when you are ready to restore)
#GRUB_CMDLINE_LINUX_DEFAULT = "Quiet Splash"
Then, add the following
grub_cmdline_linux_default= "Text"
Save File and exit
Finally, use the sudo update-grub command to make the configuration effective
Reboot start the system.


Method 3:

Re-install the Ubuntu GNOME environment
Power on, hold down SHIFT and enter grub

Open Network

Enter root shell command line
Enter:
sudo apt-get remove ubuntu-desktop
and then enter:
sudo apt-get install ubuntu-desktop
Installation Completed, login, gnome back, file settings, etc. have not changed.
Complete  

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.