Skip to content

Post OS-Installation Configurations

The following configurations should be done on Linux VDI servers:

Install Hypervisor Tools for Linux VDI as a VM

If the Linux VDI server is installed as a virtual machine running over hypervisor, install hypervisor tools on the server.

Important

  • For the name and installation procedure, refer to the hypervisor documentation.
  • Install tools for Ubuntu-based VDI servers (e.g., Linux SHD server and Ubuntu-GNOME). The procedures for VMware and Hyper-V are listed below for reference.
  • This step is not required to install Linux SHD on physical servers.

Linux VDI on VMware

Install Open VM tools to support VMware's functioning. For instructions on installing Open VM tools on Ubuntu, refer to the KB article Install VMware Tools.

Linux VDI on Microsoft Hyper-V or SCVMM Servers

Administrators can choose to install Hyper-V-specific tools on Linux VMs using either of the two methods:

  1. Accops Provided Script
  2. By Manually Executing Commands

Using Accops Provided Script

  1. Make sure the Internet is accessible on the target Ubuntu VM.

  2. Open Terminal and change the directory to the extracted dependency packages directory

    cd Desktop/ubuntu16_dvmtool_assistive_online_installer_22022022_linuxvdi/

  3. Locate the directory vm_tools

    cd vm_tools/

  4. Run the following script to install Hyper-V tools

    sudo ./install_hyperv_tools.sh

  5. The script automatically locates the appropriate version over the Internet and installs the tools.

    Note

    The machine will shut down automatically after the installation.

  6. Verify the Hyper-V Tools Installation is complete to confirm that the Hyper-V tools are running appropriately on the VM.

Manually Executing Commands

Use the following commands to install Hyper-V tools:

  1. Make sure the Internet is available on the target Ubuntu VM.

  2. Open Terminal and execute the below-given commands:

    sudo apt-get clean

    sudo apt-get update

    sudo apt-get install --reinstall linux-tools-$(uname -r) linux-cloud-tools-$(uname -r) -y

    sudo apt-get install -f

    sudo shutdown -h now

  3. VM will be powered off.

  4. Use the method Verify Hyper-V Tools Installation to confirm Hyper-V tools are running appropriately on the VM.

Verify Hyper-V Tools Installation

  1. Once the tools are installed, the VM will be powered off.

  2. Once powered on, appropriate tool versions will be available on the VM. To verify, execute the following command.

    ps -ef \ | grep hv

    • Check the output; it should have an appropriate process running for hv_kvp_daemon, hv_vss_daemon:

      root 148 2 0 Oct06 ? 00:00:00 [hv_vmbus_con]

      root 421 2 0 Oct06 ? 00:00:08 [hv_balloon]

      root 744 1 0 Oct06 ? 00:00:02 /usr/lib/linux-tools/4.4.0-130-generic/hv_kvp_daemon -n

      root 831 1 0 Oct06 ? 00:00:00 /usr/lib/linux-tools/4.4.0-130-generic/hv_vss_daemon -n

      admin 38341 37997 0 16:21 pts/2 00:00:00 grep --color=auto hv