One of the new features provided in Horizon View 6.1.1, which I’ve mentioned in the What’s New article, is the support of providing Linux based virtual desktops. There are some limitations, but it is definitely a feature which is good to have in our pocket as VDI engineers.
Limitations
Here is the list with limitation from the official VMware documentation:
- Single Sign-on (SSO) is not supported. After logging in to Horizon 6 and launching the remote desktop, the user must log in to the Linux guest operating system.
- Automated provisioning and other features that are provided only with automated desktop pools are not supported. For example, the refresh on logoff operation is not available.
- Local devices cannot be used on the remote desktop. For example, USB redirection, virtual printing, location-based printing, clipboard redirection, Real-Time Audio-Video, and smart cards are not supported.
- HTML Access is not supported.
Supported Linux versions
- Ubuntu 12.04 – x86 and x64
- RHEL 6.6 – x86 and x64
- CentOS 6.6 – x86 and x64
- NeoKylin 6 and NeoKylin 6 Update 1 – x86 and x64
NeoKylin is still in tech preview. Zero clients and mobile clients are not supported. KDE is not officially supported.
Prepare a Ubuntu VDI Template
For our testing we are going to use Ubuntu 12.04 x64. It can be downloaded from here. Assuming that the OS is already installed, we need to install first VMware Tools – KB102525
- Open a Terminal window. For more information, see Opening a command or shell prompt (1003892).
- In the Terminal, run this command to navigate to the vmware-tools-distrib folder:
cd Desktop/vmware-tools-distrib - Run this command to install VMware Tools: sudo ./vmware-install.pl -d
Note: The -d switch assumes that you want to accept the defaults. If you do not use -d, press Return to accept the defaults or supply your own answers. - Enter your Ubuntu password.
- Restart the Ubuntu virtual machine after the VMware Tools installation completes.
Second step is to install Horizon View Agent for Linux
- Download View Agent from here
- Extract the archive on the Desktop
- Open Terminal and navigate to the extracted folder
- Run the command sudo ./install_viewagent.sh -b mybroker.mydomain.com -d mydomain.com -u domainuser -p password
- Domain user must have permissions to Register agents to the Horizon View
- You will be prompted to install Oracle Java 1.7.0_80 which is mandatory for the agent. You need to have internet connectivity from the VDI source VM.
- Reboot is required
Create a Linux Manual Pool in View Administrator
- Go to Catalog -> Desktop Pools -> Add and select Manual Desktop Pool as the only supported option for Linux based VDI so far.
- Dedicated or Floating ups to you.
- Select Other Sources
- Type ID and Display Name for the pool
- Pool Settings, ups to you. There are no specific requirements.
- Select your Ubuntu. During the Agent installation it was registered with the Horizon View
- Create user entitlement after that and confirm the pool creation.
- Connect with Horizon View Client to you connection server and you will see the Ubuntu Pool.
- After lunching the virtual desktop you will be able to login to your first Linux VDI
- Looks like the Display Protocol which we will be able to use in Linux VDI is BLAST.
References: VMware Horizon View Official Documentation
Nikolay Nikolov
Latest posts by Nikolay Nikolov (see all)
- Build a vRealize Orchestrator 7 (vRO) Cluster - February 13, 2017
- VMware vCenter Server Appliance 6.5 – Install and Configure - November 16, 2016
- Nutanix Upgrade fails at 93% - August 18, 2016
thx for good post.
its right, that linux based vdi not working in view 6.1.1 standart edition ? thx !
Hi Tomask,
That’s correct. You should have Enterprise level of licensing if you want to be compliant. For reference: https://www.vmware.com/products/horizon-view/compare
Thanks for your comment!
Hi Nikolay Did you try same setting on 6.2 because it doesnt work
Hi Salm,
No, I haven’t tried this on View 6.2 yet. Where your setup is failing? It is very sensitive and I propose to follow the official vmware instruction strictly.
Thanks and good luck!
I can not use old linux vm that had 6.1agent , not shown in view admin page but with new linux installation ok worked i can not check the problem yet i guess can not delete old agent files
It is possible. Don’t you have a clean Linux to do the agent installation from scratch? Maybe this will help.
Thanks!
I cannot get this to connect following these instructions exactly. Running 6.1 view with 6.1 agent and ubuntu 12.04. When I go to connect to the desktop it says the desktop does not support the requested display protocol. Did I miss installing something on the machine? Thank you!
I installed linux view agent on ubuntu 12.04, and the status is runing,
I create a pool as your instruction, and the status of my agent for the ubuntu machine which I entitled for is available,
but I got this error :
the desktop does not support the requested display protocol.
I did all your instruction step by step,
is there any other checking?
Hi Sali,
do you use Horizon 6.1.1 or a newer release? I suggest to check the pool settings and be sure that the PCoIP is not the forced protocol. You can also try to change it. A reboot of your Ubuntu machine could also help.
Thank you for your comment!
Actually I use 6.2, but ubuntu 12.04 and jre1.7.0_80 , do you think the problem is version 6.2 , and I have to use 6.1?
Thank you for your answer
Hi I m Makarand,
I want know deployment of VDI in RHEV environment.
I have RHV manager with RHV hypervisor, VM are created on rhev hypervisor. Now facing challenges in spice VDI deployment.
Need steps for installing and enabling Spice VDI in rhev.
Reg
makarand.
Thanks for sharing, this is very intresting article.