Ubuntu 18.10 guest automatic screen resize not working
I am running Ubuntu 18.10 as a guest using VMWare 15 player on a Windows 10 host.
I go through the install process for Ubuntu, restart, and everything looks fine. I restart the VM again and the screen wont resize, it is stuck at its default. Resizing the VM window doesn't have any affect.
running "ps aux | grep vmtoolsd" I get the following:
root 385 0.4 0.0 142756 10844 ? Ssl 11:19 0:00 /usr/bin/vmtoolsd
corrin 1859 0.3 0.2 391940 36704 tty2 Sl+ 11:19 0:00 /usr/bin/vmtoolsd -n vmusr --blockFd 3
corrin 2278 0.0 0.0 17480 956 pts/0 S+ 11:20 0:00 grep --color=auto vmtoolsd
Copy and paste between host and guest works fine.
If I execute "systemctl restart open-vm-tools.service" automatic resizing to the VM window works again.
I've also the same problem. I've updated system from 18.04 to 18.10 and got that problem, which resolved every boot by:
systemctl restart open-vm-tools.service
ps aux | grep vmtoolsd:
root 418 0.1 0.0 60612 10860 ? Ss 17:32 0:00 /usr/bin/vmtoolsd
test 1709 0.3 0.3 382016 35976 ? Sl 17:33 0:00 /usr/bin/vmtoolsd -n vmusr --blockFd 3
test 1999 0.0 0.0 8864 824 pts/0 S+ 17:34 0:00 grep --color=auto vmtoolsd
I too have the same problem with Xubuntu 18.10, whether upgraded from 18.04 or clean installed. Restarting the open-vm-tools.service will get it working until rebooted.
Not sure if it matters but it is the same for both Wayland and Xorg for me. The issue is present right from the beginning with the login screen.
This might be a dup of issue #253. Can you please try adding this line in the Unit section of open-vm-tools?
After=graphical.target
That seems to fix it for me. Thank you.
Yes, fixed
Yes, that's works! Thanks!
➜ ~ systemctl restart open-vm-tools.service Failed to restart open-vm-tools.service: Unit open-vm-tools.service not found.
why
@king-gu try to reinstall open-vm-tools
@king-gu try to reinstall open-vm-tools
I am a beginner, can attach code
@king-gu try to reinstall open-vm-tools
Thank you very much for the
sudo apt purge open-vm-tools
sudo apt update
sudo apt install open-vm-tools open-vm-tools-desktop
sudo apt purge open-vm-toolssudo apt updatesudo apt install open-vm-tools open-vm-tools-desktop
错误:未找到目标:open-vm-tools-desktop
why
Most of the Linux distributions ship two open-vm-tools packages, "open-vm-tools" and "open-vm-tools-desktop". "open-vm-tools" is the core package without any dependencies on X libraries and "open-vm-tools-desktop" is an additional package with dependencies on "open-vm-tools" core package and X libraries.
If your VM is using a desktop environment, you need the open-vm-tools-desktop to enable resizing.
sudo apt purge open-vm-toolssudo apt updatesudo apt install open-vm-tools open-vm-tools-desktop错误:未找到目标:open-vm-tools-desktop
why
@king-gu because you didn't install open-vm-tools, try only:
sudo apt install open-vm-tools open-vm-tools-desktop
Here is how to fix it...
Edit: /etc/systemd/system/multi-user.target.wants/open-vm-tools.service
Add the following to the end of the "Unit" section:
Requires=graphical.target After=graphical.target
Reboot.
Thanks to Robert G @ askubuntu, and for your reference: https://askubuntu.com/questions/1085621/vmware-workstation-ubuntu-18-10-full-screen-problem
Restarting the service and editing it haven't resolved this issue for me.
ps aux | grep vmtoolsd:
shuri 1496 0.1 1.7 390808 35992 tty2 Sl+ 11:13 0:02 /usr/bin/vmtoolsd -n vmusr --blockFd 3
root 4437 0.0 0.5 69264 11088 ? Ss 11:22 0:01 /usr/bin/vmtoolsd
shuri 8601 0.0 0.0 17480 956 pts/0 S+ 11:46 0:00 grep --color=auto vmtoolsd
This might be a dup of issue #253. Can you please try adding this line in the Unit section of open-vm-tools?
After=graphical.target
Here is how to fix it...
Edit: /etc/systemd/system/multi-user.target.wants/open-vm-tools.service
Add the following to the end of the "Unit" section:
Requires=graphical.target After=graphical.target
Reboot.
Thanks to Robert G @ askubuntu, and for your reference: https://askubuntu.com/questions/1085621/vmware-workstation-ubuntu-18-10-full-screen-problem
Both don't work here, so I'll have to stick to restarting the service. Any other ideas?
None of the methods described above solved my problem. You can resolve the display resolution problem with this guide: https://www.sysnettechsolutions.com/en/install-vmware-tools-in-ubuntu-16-10/
I managed to work around the issue by installing only open-vm-tools-desktop. Most of the times it works, and when it doesn't, I restart the service and it's good to go. Worth mentioning that it happens only in Ubuntu but not on Kubuntu, at least so far in my testing.