Software & AppsOperating SystemLinux

How To Fix VMware Workstation Full Screen Problem in Ubuntu 18.10

Ubuntu 7

If you’re using VMware Workstation on Ubuntu 18.10 and are experiencing issues with the full screen mode, don’t worry. This article will guide you through several solutions to fix this problem.

Understanding the Problem

VMware Workstation is a popular virtualization solution that allows you to run multiple operating systems on a single machine. However, users often face issues when trying to switch to full screen mode, which may result in improper screen resolution or display issues.

Solution 1: Restart open-vm-tools

The first solution we recommend is to restart the open-vm-tools service. open-vm-tools is a set of services and modules that improve the interaction between the host and guest operating systems.

To restart this service, open your terminal and type the following commands:

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

The systemctl daemon-reload command reloads the system manager configuration, while sudo service open-vm-tools restart restarts the open-vm-tools service. This solution should fix the full screen problem for your current session.

Solution 2: Edit open-vm-tools service file

If the problem persists, you can edit the open-vm-tools service file. To do this, run the following command in your terminal:

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

This command opens the open-vm-tools service file in the vi text editor. Once the file is open, add the following lines to the end of the “Unit” section:

Requires=graphical.target
After=graphical.target

These lines ensure that the open-vm-tools service starts after the graphical target, which should resolve the full screen issue permanently. Save the file and run the following commands to apply the changes:

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

Solution 3: Create a script to set screen resolution

Another solution is to create a script that sets the screen resolution. To do this, create a text file with a .sh extension (e.g., setscreen.sh) and insert the following lines:

xrandr --newmode "1920x1080" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
xrandr --addmode Virtual1 1920x1080
xrandr --output Virtual1 --mode 1920x1080

The xrandr command is used to set the size, orientation and/or reflection of the outputs for a screen. In this case, we’re creating a new mode with a resolution of 1920×1080, adding this mode to the Virtual1 output, and then setting this mode for the Virtual1 output. Save the file and make it executable using the chmod +x setscreen.sh command. You can run it manually or add it to “Startup Applications” to automatically set the screen resolution at startup.

Solution 4: Specify monitor settings

You can also try specifying the correct monitor settings. To do this, go to Settings > Display and specify the desired resolution. This solution is straightforward and may solve the problem if it’s caused by incorrect monitor settings.

Solution 5: Delay open-vm-tools startup

Another solution is to delay the startup of open-vm-tools. To do this, edit the open-vm-tools service file:

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

Add the following line under the [Unit] section:

After=display-manager.service

This line ensures that open-vm-tools starts after the display manager, which should resolve the full screen issue. Save the file and reboot the system to apply the changes.

Conclusion

By implementing these solutions, you should be able to fix the full screen problem in VMware Workstation on Ubuntu 18.10. If none of the above solutions work, you can refer to the GitHub issue for additional troubleshooting steps and possible solutions. Remember, troubleshooting is a process of elimination. Keep trying different solutions until you find the one that works for you.

What is VMware Workstation?

VMware Workstation is a virtualization solution that allows users to run multiple operating systems on a single machine. It provides a platform for creating and managing virtual machines.

What is the full screen problem in VMware Workstation?

The full screen problem in VMware Workstation refers to issues that users may face when trying to switch to full screen mode. This can result in improper screen resolution or display issues.

How can I restart the open-vm-tools service?

To restart the open-vm-tools service, open your terminal and run the following commands:

sudo systemctl daemon-reload
sudo service open-vm-tools restart
How do I edit the open-vm-tools service file?

To edit the open-vm-tools service file, run the following command in your terminal:

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

This will open the file in the vi text editor, where you can make the necessary changes.

How do I create a script to set the screen resolution?

To create a script to set the screen resolution, create a text file with a .sh extension (e.g., setscreen.sh) and insert the necessary xrandr commands. Make the file executable using the chmod +x setscreen.sh command and run it manually or add it to "Startup Applications" to automatically set the screen resolution at startup.

How can I specify the correct monitor settings in VMware Workstation?

To specify the correct monitor settings, go to Settings > Display and specify the desired resolution. This will ensure that the virtual machine is displayed properly in full screen mode.

How can I delay the startup of open-vm-tools?

To delay the startup of open-vm-tools, edit the open-vm-tools service file using the command sudo vi /lib/systemd/system/open-vm-tools.service. Add the line After=display-manager.service under the [Unit] section. Save the file and reboot the system to apply the changes.

What should I do if none of the above solutions work?

If none of the above solutions work, you can refer to the GitHub issue for additional troubleshooting steps and possible solutions. Keep trying different solutions until you find the one that works for you.

Leave a Comment

Your email address will not be published. Required fields are marked *