Ubuntu Citrix VDA Install

Yesterday I tried to install VDA on an Ubuntu VM....here's how it went...

I strongly recommend not "going it alone" and use the scripts provided by Citrix as these will normally work.

Citrix annoyingly call this "Easy Install" which might offend some stalwart IT admins but please swallow your pride these scripts do EVERYTHING for you if your IT environment is not bonkers....like mine is.

I needed some tweaks as we have a UPN which differs from our domain so our user accounts have a UPN to blogger@domain.com but reside in a domain called my.name.net....yes yes yes as I said bonkers.

Once I found this issue things went pretty smoothly.

Here's my recipe dragged straight from Citrix documents

https://docs.citrix.com/en-us/linux-virtual-delivery-agent/current-release/installation-overview/easy-install.html

Make sure you are really install Ubuntu 18.04 and patch it to the gunnels - install vmware tools etc...

Sort out the /etc/hosts to include one line with FQDN, hostname and localhost

127.0.0.1 server.my.name.net server localhost

Double check this with...

hostname
hostname -f

Download the Ubuntu VDA from Citrix - you need a valid Citrix license to do this.

Now run the installer (automatically install pre-reqs)

sudo apt install .\vda-installer-name.deb

Patch everything again and reboot

Now run the "easy installer"

Notes...the installer requires the NETBIOS name of the Windows domain....even if you are not running WINS - in my case this was MY from my.name.net the domain name not the UPN...

I used sssd to join the domain and do Active Directory shizzles.

I had to edit /etc/sssd/sssd.conf to include our strange UPN naming by adding a second domain in the domains list and set the auth_provider to be ad as krb5 will not work!  I left the machine domain alone - as krb5 was working fine there as Active Directory domain join worked.

domains = domain.com,my.name.net

[domain/domain.com]
...
auth_provider = ad
ad_domain = my.name.net

[domain/my.name.net]
...

I did have to adjust PAM to create user home folders....not sure why the script omitted this (do I even need this)?

sudo pam-auth-update

Selected Create home directory on login

I used

su -l domain_name

Run this to stop any gray/grey screens at log in!

sudo apt-get install xserver-xorg ubuntu-desktop xserver-xorg-core -y

to test i could log in using any old user in my AD...and when that worked VICTORY DANCE!!

Obviously you need a different Machine Catalog and Delivery Group in the Delivery Controller to allow users to actually get to the Ubuntu box!


Comments

Popular posts from this blog

PXE booting, MDT and 802.1x

Intune installation requires a wire...or does it?

Security Policy 1001