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.