在您的客人中使用xrandr,在您的情况下使用“ubuntu”,但在“全新的终端”中支付费用
例:
$ xrandr -q
Screen 0: minimum 64 x 64, current 3200 x 900, maximum 32000 x 32000
VBOX0 connected 1600x900+0+0 0mm x 0mm
1600x900 60.0*+
1600x1200 60.0
1440x1050 60.0
1280x960 60.0
1024x768 60.0
800x600 60.0
640x480 60.0
VBOX1 connected 1600x900+1600+0 0mm x 0mm
1600x900 60.0*+
1600x1200 60.0
1440x1050 60.0
1280x960 60.0
1024x768 60.0
800x600 60.0
640x480 60.0
你可以看到我没有1920x1280,所以我做了:
xrandr --newmode "1920x1280" 60.0 1920 1600 1600 1440 1280 1024 800 640 -hsync +vsync
现在 ...
xrandr --output VBOX1 --mode 1920x1280
现在 ...
$ xrandr -q
Screen 0: minimum 64 x 64, current 3520 x 1280, maximum 32000 x 32000
VBOX0 connected 1600x900+0+0 0mm x 0mm
1600x900 60.0*+
1600x1200 60.0
1440x1050 60.0
1280x960 60.0
1024x768 60.0
800x600 60.0
640x480 60.0
VBOX1 connected 1920x1280+1600+0 0mm x 0mm
1920x1280 60.0 + 65.1*
1600x1200 60.0
1440x1050 60.0
1280x960 60.0
1024x768 60.0
800x600 60.0
640x480 60.0
确保您的“主机”具有您的VBOX1的分辨率。
问候,