Ubuntu cannot access the graphic interface solution

Source: Internet
Author: User

Ubuntu cannot access the graphic interface solution

After the virtual machine is installed with Ubuntu, the login interface is displayed. The password is displayed in a black screen without any response. In this case, press Ctrl + Alt + F1 to enter the command line interface and enter the user name and password.

Dual-graphics solutions nvidia driver problems

If the nvidia graphics card driver is faulty, enter the following command on the terminal:

Sudo apt-get install nvidia-current
Sudo nvidia-xconfig

It takes a long time to install nvidia. After that, restart: sudo reboot.

If the preceding process is invalid, click the following link:

Alternatives

If you can only log on to the GUI as a guest user:

On the logon page, press ctrl + Alt + F1 (both F2-F6 are allowed) and enter the username and password to log on. After logging on to sudo-I, enter the password to obtain the root permission, and enter startx in the command line. If you successfully enter the graphic user interface, good luck, in general, it will not succeed, and there will be many row error prompts, one of which prompts you/home/user name /. the Xauthority has an error. For the sake of security, copy the file somewhere else to avoid resuming the file and then perform the delete operation. Run cp/home/username/first /. xauthority/home/, and then execute rm/home/user name /. xauthority. After deletion, execute startx again. This time, a line will prompt If ******, remove/tmp /. x0-lock and start again. then, follow the prompts and enter rm/tmp /. x0-lock to delete the file. After that, enter sudo service lightdm restart. After the execution is complete, return to the logon page to log on to the graphic user interface.

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.