无法通过 VMWare 在 Ubuntu 中获得 1920 x 1080

EGH*_*HDK 24 vmware virtualization 12.04

我刚刚安装了 Ubuntu 并输入了 sudo apt-get install open-vm-tools

我可以将分辨率更改为 1920 x 1200,但不能更改为 1920 x 1080。有什么想法吗?

我试过这个这个但没有运气。第二个链接是 VirtualBox

我已经尝试在我的主机 (Windows 8) 和我的来宾操作系统 (Ubuntu) 上更改 VMWare 设置,但没有成功。真的需要这个才能工作。

我认为我没有正确运行 vm 工具。显然我应该运行 .pl 文件,但是当我双击它时,会打开一个文本文件。

xrandr:

xrandr
Screen 0: minimum 1 x 1, current 1360 x 768, maximum 8192 x 8192
Virtual1 connected 1360x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   800x600        60.0 +   60.3  
   2560x1600      60.0  
   1920x1440      60.0  
   1856x1392      60.0  
   1792x1344      60.0  
   1920x1200      59.9  
   1600x1200      60.0  
   1680x1050      60.0  
   1400x1050      60.0  
   1280x1024      60.0  
   1440x900       59.9  
   1280x960       60.0  
   1360x768       60.0* 
   1280x800       59.8  
   1152x864       75.0  
   1280x768       59.9  
   1024x768       60.0  
   640x480        59.9  
Virtual2 disconnected (normal left inverted right x axis y axis)
Virtual3 disconnected (normal left inverted right x axis y axis)
Virtual4 disconnected (normal left inverted right x axis y axis)
Virtual5 disconnected (normal left inverted right x axis y axis)
Virtual6 disconnected (normal left inverted right x axis y axis)
Virtual7 disconnected (normal left inverted right x axis y axis)
Virtual8 disconnected (normal left inverted right x axis y axis)
Run Code Online (Sandbox Code Playgroud)

在此处输入图片说明

小智 50

我的解决方案:

创建一个扩展名为 .sh 的文本文件。例如setscreen.sh

插入以下文本并保存。

xrandr --newmode "1920x1080"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
xrandr --addmode Virtual1 1920x1080
xrandr --output Virtual1 --mode 1920x1080
Run Code Online (Sandbox Code Playgroud)

将此 .sh 文件作为可执行文件运行。屏幕应为 1920x1080。

使用“启动应用程序”在启动时启动文件。

注意:我正在运行 Mint 17,但这在 Ubuntu 中应该可以正常工作。


小智 9

我在 VMware Player 12.1 下使用 Linux Mint Cinnamon 17.3 遇到了同样的问题。

阅读更多open-vm-tools关于VMware的KB,我发现,使用open-vm-tools-desktop包来解决此推荐的方式。

所以我建议你也执行一个sudo apt-get install open-vm-tools-desktop. 但请记住,只有在全屏模式下才会自动调整分辨率,而不是在窗口模式下。


dwa*_*ard 4

您可以将模式添加到xrander. 对于您来说,该命令将类似于:

xrandr --newmode "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
Run Code Online (Sandbox Code Playgroud)

您可能需要通过添加选项来明确说明输出--output Virtual1。我用 计算了这个命令的参数cvt 19200 1080 60。它们对你来说可能会有所不同。然后只需切换到该模式即可

xrandr --output Virtual1 --mode 1920x1080 --rate 60
Run Code Online (Sandbox Code Playgroud)


Apa*_*che 1

一个叫“dts-dreamer”的人有一个解决方法。它作为补丁附加在 bugtracker 上。

现在讨论这个问题:这是 12.04 的回归,并且在 13.04 的代码中仍然存在。
该错误在错误跟踪器上得到了确认状态,但 Canonical 尚未发表评论。
解决方案?据我所知,没有一个。

xorg.conf 文件也仅适用于某些变体。就像 Ubuntu 本身和 Kubuntu 一样。如果该错误影响到您(并且您有 Launchpad 帐户),
请标记该错误。