To prepare for a deployment of Linux remote desktops, start by using vSphere Client to create a virtual machine (VM) in vCenter Server. Then install your Linux distribution on the VM.

You can create a VM in vSphere from scratch or by cloning an existing VM. This procedure describes creating a VM from scratch.

Prerequisites

  • Verify that your deployment meets the requirements for supporting Linux desktops. See System Requirements for Horizon Agent for Linux.
  • Familiarize yourself with the video memory (vRAM) settings requirements for the monitors you plan to use with the VM. See System Requirements for Horizon Agent for Linux.
  • Familiarize yourself with the custom configuration parameters for VMs. See Virtual Machine Custom Configuration Parameters.
  • Verify that an ISO image file of the guest Linux distribution is in a datastore on your ESXi server.
    Note: When selecting a guest Linux distribution, consider the following limitations for instant-clone desktop pools and multi-session hosts.

    Horizon Agent for Linux only supports instant-clone desktop pools created from virtual machines running the following operating systems:

    • Ubuntu 20.04/22.04
    • Debian 10.x/11.x
    • RHEL 7.9/8.x/9.x
    • Rocky Linux 8.x/9.x
    • CentOS 7.9
    • SLED/SLES 15.x

    Only virtual machines running RHEL Workstation 7.9/8.x/9.x, Rocky Linux 8.x/9.x, Ubuntu 20.04/22.04, or Debian 10.x/11.x can support multi-session published desktop pools and single-session or multi-session application pools.

Procedure

  1. Log in to vSphere Client.
  2. Right-click any inventory object that is a valid main object of a VM, such as a data center, folder, cluster, resource pool, or host, and select New Virtual Machine.
  3. Select Create a new virtual machine and click Next.
  4. Follow the prompts to specify the VM custom options.
    1. Specify the number of vCPUs and the vMemory size. For the required settings, refer to the following guidelines.
      • If you are preparing the VM for deployment as a single-session virtual desktop pool, follow the guidelines in the installation guide for your Linux distribution.
      • If you are preparing the VM to serve as a multi-session host for a published desktop or application pool, specify at least 8 vCPUs and 40 GB of vMemory.
        Important: A minimum of 8 vCPUs and 40 GB of vMemory is required to support up to 50 user sessions per published desktop or published application.
    For detailed information about other custom options, see Virtual Machine Custom Configuration Parameters.
  5. On the Customize hardware page, select Virtual Hardware to configure hardware settings.
    1. Click Add New Device and select a CD/DVD drive. Set the media type to use an ISO image file, select the ISO image file of the guest Linux distribution that you placed in a datastore on your ESXi server. Then select Connect at power on.
  6. On the Customize hardware page, select VM Options to configure VM settings.
    1. (Optional) In the Boot Options, set Boot Delay to 10,000 milliseconds.
      You can set the boot delay to easily access the VM's BIOS on boot and modify the system settings. After you modify the system settings, you can reboot the boot delay.
  7. Click Finish to create the VM.
  8. Power on the VM and install the Linux distribution from the ISO image that you specified earlier.
    1. In vSphere Client, right-click the virtual machine, select Power, and select Power On to start the virtual machine.
      Because you configured the CD/DVD drive to point to the ISO image of the guest distribution and to connect at power on, the guest distribution installation process begins automatically.
    2. Click the Console tab and follow the instructions in the guest distribution installers.
  9. Configure the desktop environment to use for the specific Linux distribution.
    See the Desktop Environment section in System Requirements for Horizon Agent for Linux for more information.
  10. Ensure that the VM hostname is resolvable to 127.0.0.1.

What to do next

If you installed SLED or SLES on the VM, complete the steps described in Update the GNOME Shell Window List Extension on SLED/SLES Virtual Machines.

For all distributions, proceed to Prepare a Linux Machine for Remote Desktop Deployment.