1. Open VBox (Oracle VM VirtualBox), launch Ubuntu
2. Click "Device > Install Enhancements"
3. Go to Ubuntu to open the File Manager, as
4. Enter the root user's password and wait for the installation to complete (there is a press Return to the close this window) and the installation is completed by pressing ENTER
5. Restart Ubuntu, now you can see that you can set the resolution above 1024:768, but all 4:3 of the resolution, no 1366:768 (16:9) Resolution
6. Open the terminal, enter the CVT 1366 768, copy the parameters in the red box and save it.
7. Enter sudo gedit/etc/x11/xorg.conf, type the following, and note that the contents of the red box in Gedit are the parameters we saved just now, different monitors/graphics cards are not necessarily the same, so be sure to read them by command. You can't just copy this.
File contents:
section "Device" Identifier "configured Video Device" endsectionsection "Monitor" Identifier "configured Monitor" Modeline "1368x768_60.00" 85.25 1368 1440 1576 1784 768 771 781 798-hsync +vsyncendsectionsection "screen" Identi Fier "Default Screen" monitor "configured Monitor" device "configured Video Device" subsection "Display" Modes "[email Protected] "Endsubsectionendsection
8. Save the file, restart Ubuntu, OK, done, there is the 1366x768 resolution, note that the above file must not have a space at the beginning of the white space characters
Resources:
Http://jingyan.baidu.com/article/e9fb46e19605187520f76677.html
Http://www.blogjava.net/shenh062326/archive/2012/05/24/379026.html
"Resolved" VBox + Ubuntu setting 1366x768 resolution