vmwgfxctrl command not found

In this troubleshooting guide we learn how to fix vmwgfxctrl command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

vmwgfxctrl: command not found

or when using sudo you get the following error message

sudo: vmwgfxctrl: command not found

Solutions to vmwgfxctrl: command not found

How To Fix vmwgfxctrl: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu vmwgfxctrl is provided by open-vm-tools-desktop package.

open-vm-tools-desktop is:

The Open Virtual Machine Tools (open-vm-tools) project is an open source implementation of VMware Tools. It is a suite of virtualization utilities and drivers to improve the functionality, user experience and administration of VMware virtual machines.

This package contains the user-space programs and libraries that are essential for improved user experience of VMware virtual machines.

To fix this problem, we can install more using the command below.

sudo apt-get -y install open-vm-tools-desktop

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install open-vm-tools-desktop.

sudo apt -y install open-vm-tools-desktop

Or if you have aptitude installed you can use the following command.

sudo aptitude install open-vm-tools-desktop

Summary

In this tutorial we learn how to fix vmwgfxctrl command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.