VMware Workstation Ubuntu 18.10全屏问题


9

我将VMware Ubuntu 18.04升级到18.10。升级后,在我关闭并重新启动VM之前,它运行良好,现在不会全屏显示。

我随后安装了一个新的18.10副本,起初它在安装后和重启后都可以正常工作。

有什么建议么?

Answers:


27

我在VMWare 15.01上全新安装18.10时遇到了相同的问题。如果登录后手动重新启动open-vm-tools,一切正常。我试图重新安装VMWare工具,但没有帮助。这确实解决了它:

使用您喜欢的编辑工具编辑此文件

/etc/systemd/system/multi-user.target.wants/open-vm-tools.service

将这些行添加到“单元”部分的末尾

Requires=graphical.target
After=graphical.target

保存文件,下次重新启动时,应该很好。

您可以立即应用更改,而无需通过运行重新启动

sudo systemctl daemon-reload
sudo service open-vm-tools restart

升级后,对我也适用于Ubuntu 18.04。
Guy Avraham

为我工作。Win10 + VMware WS 15 Player + ubuntu-18.04.2-desktop-amd64
jahackbeth

1

创建一个扩展名为.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

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

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


0

进入设置>显示>指定显示器设置,然后为您的计算机选择合适的分辨率。



0

只需sudo service open-vm-tools restart在“启动应用程序”中添加as命令,以使其在系统启动后运行。


0

延迟服务open-vm-tools在显示管理器之后启动,它似乎可以工作。

〜$ sudo vi /lib/systemd/system/open-vm-tools.service

在[Unit]下添加以下行:

After = display-manager.service

参考https://communities.vmware.com/thread/576221

保存文件并重新启动。屏幕应能够根据需要安装。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.