You can use VMware Remote Console to attach virtual serial ports to a virtual machine.

Procedure

  1. Access the target virtual machine in VMware Remote Console.
  2. If you want to configure a new serial port, add it to your virtual machine.
    Note:
    • Adding a serial port is not supported on macOS. The VMware Remote Console macOS client cannot add hardware to a virtual machine.
    • Adding and removing a serial port are not supported on Linux. The VMware Remote Console Linux client cannot perform operations on powered-off virtual machines.
    1. Power off the virtual machine.
    2. Select VMRC > Manage > Virtual Machine Settings.
    3. Open the Hardware tab and click Add.
    4. Select Serial Port and click Finish.
  3. Open the settings for the target serial port.
    • On Windows or Linux, open the Hardware tab and select the desired serial port.
    • On macOS, select the desired serial port under Removable Devices.
  4. Specify connection settings for the port.
    • To connect the port immediately, select Connected (Windows or Linux) or Connect Serial Port (macOS).
    • To connect the port each time the virtual machine is powered on, select Connect at power on.
  5. Select whether the port connects to a physical port, output file, or named pipe.
    The named pipe option is not available on macOS.
  6. On Windows and Linux, select whether to allow the guest operating system to use the serial port in polled mode.

What to do next

If you no longer need a configured serial port, you can remove it from the virtual machine.

  • On Windows, power off the virtual machine. Select the target serial port and click Remove.
  • On macOS, power off the virtual machine. Select the target serial port and click Remove Serial Port.