Setting Up for Linux Desktops
Table Of Contents
- Setting Up Horizon 7 for Linux Desktops
- Contents
- Setting Up Horizon 7 for Linux Desktops
- Features and System Requirements
- Preparing a Linux Virtual Machine for Desktop Deployment
- Setting Up Active Directory Integration for Linux Desktops
- Setting Up Graphics for Linux Desktops
- Installing Horizon Agent
- Configuration Options for Linux Desktops
- Create and Manage Linux Desktop Pools
- Bulk Deployment of Horizon 7 for Manual Desktop Pools
- Overview of Bulk Deployment of Linux Desktops
- Overview of Bulk Upgrade of Linux Desktops
- Create a Virtual Machine Template for Cloning Linux Desktop Machines
- Input File for the Sample PowerCLI Scripts to Deploy Linux Desktops
- Sample Script to Clone Linux Virtual Machines
- Sample Script to Join Cloned Virtual Machines to AD Domain
- Sample Script to Join Cloned Virtual Machines to AD Domain Using SSH
- Sample Script to Upload Configuration Files to Linux Virtual Machines
- Sample Script to Upload Configuration Files to Linux Virtual Machines Using SSH
- Sample Script to Upgrade Horizon Agent on Linux Desktop Machines
- Sample Script to Upgrade Horizon Agent on Linux Virtual Machines Using SSH
- Sample Script to Perform Operations on Linux Virtual Machines
- Troubleshooting Linux Desktops
- Collect Diagnostic Information for Horizon 7 for Linux Machine
- Troubleshooting Copy and Paste between Remote Desktop and Client Host
- Configuring the Linux Firewall to Allow Incoming TCP Connections
- View Agent Fails to Disconnect on an iPad Pro Horizon Client
- SLES 12 SP1 Desktop does not Auto Refresh after Drag and Drop
- SSO Fails to Connect to a PowerOff Agent
- Unreachable VM After Creating a Manual Desktop Pool for Linux
2 Install PBISO on your Linux VM.
sudo ./pbis-open-8.5.6.2029.linux.x86_64.deb.sh
3 Install Horizon 7 Agent for Linux.
4 Use PBISO to join the Linux desktop to the AD domain.
In the following example, lxdc.vdi is the domain name and administrator is the domain user
name.
sudo domainjoin-cli join lxdc.vdi administrator
5 Set up the default configuration for domain users.
sudo /opt/pbis/bin/config UserDomainPrefix lxdc
sudo /opt/pbis/bin/config AssumeDefaultDomain true
sudo /opt/pbis/bin/config LoginShellTemplate /bin/bash
sudo /opt/pbis/bin/config HomeDirTemplate %H/%U
6 Edit the /etc/pamd.d/common-session file.
a Locate the line that says session sufficient pam_lsass.so.
b Replace that line with session [success=ok default=ignore] pam_lsass.so.
Note This step must be repeated after you reinstall or update the Horizon Agent for Linux.
7 Edit the /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf file and append the
following lines.
Note If you are using Ubuntu 14.04, the lightdm configuration file is named 60-lightdm-gtk-
greeter.conf.
allow-guest=false
greeter-show-manual-login=true
Setting Up Horizon 7 for Linux Desktops
VMware, Inc. 32










