1.问题描述
因为自己的虚拟机编译的库不能在板子上,所以直接拷贝了同事的虚拟机过来,但是虚拟机打开后屏幕上会有以下的一些信息:
Could not apply the stored configuration for monitors
none of the selected modes were compatible with the possible modes:
Trying modes for CRTC 63
CRTC 63: trying mode 800x600@60Hz with output at 1596x748@60Hz (pass 0)
CRTC 63: trying mode 2560x1600@60Hz with output at 1596x748@60Hz (pass 0)
CRTC 63: trying mode 1920x1440@60Hz with output at 1596x748@60Hz (pass 0)
CRTC 63: trying mode 1856x1392@60Hz with output at 1596x748@60Hz (pass 0)
CRTC 63: trying mode 1792x1344@60Hz with output at 1596x748@60Hz (pass 0)
CRTC 63: trying mode 1920x1200@60Hz with output at 1596x748@60Hz (pass 0)
CRTC 63: trying mode 1600x1200@60Hz with output at 1596x748@60Hz (pass 0)
CRTC 63: trying mode 1680x1050@60Hz with output at 1596x748@60Hz (pass 0)
CRTC 63: trying mode 1400x1050@60Hz with output at 1596x748@60Hz (pass 0)
CRTC 63: trying mode 1280x1024@60Hz with output at 1596x748@60Hz (pass 0)
CRTC 63: trying mode 1440x900@60Hz with output at 1596x748@60Hz (pass 0)
CRTC 63: trying mode 1280x960@60Hz with output at 1596x748@60Hz (pass 0)
CRTC 63: trying mode 1360x768@60Hz with output at 1596x748@60Hz (pass 0)
CRTC 63: trying mode 1280x800@60Hz with output at 1596x748@60Hz (pass 0)
CRTC 63: trying mode 1152x864@75Hz with output at 1596x748@60Hz (pass 0)
CRTC 63: trying mode 1280x768@60Hz with output at 1596x748@60Hz (pass 0)
CRTC 63: trying mode 1024x768@60Hz with output at 1596x748@60Hz (pass 0)
CRTC 63: trying mode 800x600@60Hz with output at 1596x748@60Hz (pass 0)
CRTC 63: trying mode 640x480@60Hz with output at 1596x748@60Hz (pass 0)
CRTC 63: trying mode 800x600@60Hz with output at 1596x748@60Hz (pass 1)
CRTC 63: trying mode 2560x1600@60Hz with output at 1596x748@60Hz (pass 1)
CRTC 63: trying mode 1920x1440@60Hz with output at 1596x748@60Hz (pass 1)
CRTC 63: trying mode 1856x1392@60Hz with output at 1596x748@60Hz (pass 1)
CRTC 63: trying mode 1792x1344@60Hz with output at 1596x748@60Hz (pass 1)
CRTC 63: trying mode 1920x1200@60Hz with output at 1596x748@60Hz (pass 1)
CRTC 63: trying mode 1600x1200@60Hz with output at 1596x748@60Hz (pass 1)
CRTC 63: trying mode 1680x1050@60Hz with output at 1596x748@60Hz (pass 1)
CRTC 63: trying mode 1400x1050@60Hz with output at 1596x748@60Hz (pass 1)
CRTC 63: trying mode 1280x1024@60Hz with output at 1596x748@60Hz (pass 1)
CRTC 63: trying mode 1440x900@60Hz with output at 1596x748@60Hz (pass 1)
CRTC 63: trying mode 1280x960@60Hz with output at 1596x748@60Hz (pass 1)
CRTC 63: trying mode 1360x768@60Hz with output at 1596x748@60Hz (pass 1)
CRTC 63: trying mode 1280x800@60Hz with output at 1596x748@60Hz (pass 1)
CRTC 63: trying mode 1152x864@75Hz with output at 1596x748@60Hz (pass 1)
CRTC 63: trying mode 1280x768@60Hz with output at 1596x748@60Hz (pass 1)
CRTC 63: trying mode 1024x768@60Hz with output at 1596x748@60Hz (pass 1)
CRTC 63: trying mode 800x600@60Hz with output at 1596x748@60Hz (pass 1)
CRTC 63: trying mode 640x480@60Hz with output at 1596x748@60Hz (pass 1)
2.解决方法
在虚拟机的终端执行以下命令,然后重启虚拟机即可。
sudo rm -f ~/.config/monitors.xml