VMware Horizon Linux Desktop Configuration Guide

Clipboard Redirection

To configure clipboard redirection, edit the VMware configuration file:

sudoedit /etc/vmware/config

Add or modify the following line:

ClipboardDirection=1

Use this option to specify the clipboard redirection policy. Valid values are as follows:

  • 0 - Deactivate clipboard redirection.
  • 1 - Enable clipboard redirection in both directions.
  • 2 - Enable clipboard redirection from the client to the remote desktop only. (Default)
  • 3 - Enable clipboard redirection from the remote desktop to the client only.

SSL Certificate Configuration

VMware Horizon uses the following certificate files:

  • /etc/vmware/ssl/rui.key - Private key file
  • /etc/vmware/ssl/rui.crt - Certificate file

Installing Custom SSL Certificates

  1. If you have a PFX certificate file, extract the certificate and private key:
# Extract the certificate
openssl pkcs12 -in [yourfile.pfx] -clcerts -nokeys -out rui.crt

# Extract the private key
openssl pkcs12 -in [yourfile.pfx] -nocerts -nodes -legacy -out rui.key
  1. Copy the files to the VMware SSL directory:
sudo cp rui.crt rui.key /etc/vmware/ssl/
  1. Set proper permissions:
sudo chmod 550 /etc/vmware/ssl
sudo chmod 440 /etc/vmware/ssl/rui.{key,crt}
sudo chown root:root /etc/vmware/ssl/rui.{key,crt}

Troubleshooting

Checking VMware Service Status

systemctl status viewagent

Viewing VMware Logs

less /var/log/vmware/viewagent-*.log