After I installed the ubuntu version with a virtual machine, I installed several plug-ins on it. The following prompt appeared when I opened the virtual machine for the second time:
By searching for tutorials on the Internet, I found the following solutions
1. Ctrl+Alt+F1 to enter the console
2. Enter the user password
3. Enter the following commands in sequence
cd /etc/X11
sudo cp xorg.conf.failsafe xorg.conf
sudo reboot
You can enter the graphical interface after restarting, but the graphical interface is very small at this time
Solution: sudo apt-get update
(Through this step, I found that the system has a W: GPG error: http://packages.ros.org/ros/ubuntu xenial InRelease: Since there is no public key, the following signatures cannot be verified and executed sudo apt-key adv --keyserver keyserver. ubuntu.com --recv-keys F42ED6FBAB17C654 The following public key varies from person to person, so the upgrade is successful)
Then execute sudo apt-get upgrade
Clear the xorg.conf file in X11 under etc, not delete
Restart, you can restore the interface size
Refer to the links of the two big guys: Thank you very much
https://www.cnblogs.com/hspzm/p/11790890.html
https://jingyan.baidu.com/article/215817f74739191eda1423ba.html
In addition: There are at least five ways to Baidu online:
What to modify xorg.conf, what to update the graphics driver, what to boot into the recorverMode resume of advanced options,
What cvt xrandr command to modify the resolution, even more excessive, there are dozens of commands angered, served. . . I wasted two hours.