我已在最新的 VirtualBox 版本上安装了 Ubuntu 12.04,但无法更改分辨率。
这是我运行的命令:
-- 在 Windows 中
VBoxManage setextradata "Ubuntu" "CustomVideoMode1" "1920x1080x32"
Run Code Online (Sandbox Code Playgroud)
-- 在 Ubuntu 中
~$ gtf 1920 1080 32
# 1920x1080 @ 32.00 Hz (GTF) hsync: 35.20 kHz; pclk: 86.17 MHz
Modeline "1920x1080_32.00" 86.17 1920 1992 2184 2448 1080 1081 1084 1100 -HSync +Vsync
~$ xrandr --newmode "1920x1080_32.00" 86.17 1920 1992 2184 2448 1080 1081 1084 1100 -HSync +Vsync
xrandr: Failed to get size of gamma for output default
Run Code Online (Sandbox Code Playgroud)
因为这失败了,xrandr --addmode也不起作用。我一直在网上搜索,发现一个文件有一个常见的重复主题,/etc/X11/xconf.org但这显然从我的图像中丢失了。 …