Linux local storage access from Citrix Workspace Windows RDP via VeraCrypt

Using VeraCrypt it’s possible to share files from your local Linux machine to a Windows RDP host accessible using Citrix Workspace by following the steps below.

Step 1 - Install the Citrix Workspace Linux client

Install the appropriate Linux client from the official Citrix website:
https://www.citrix.com/downloads/workspace-app/linux/workspace-app-for-linux-latest.html

Step 2 - Ensure Citrix Workspace is fully functional

Connect to your Citrix server and ensure everything is functional and you’re able to RDP into your target host.
This can be done by opening your web-browser and navigating to the appropriate URL, logging in, then clicking on the “Myworkspace (Citrix)” icon.
Ensure the session is functional then close out of the session and log-off.

Step 3 - Install VeraCrypt and create a Veracrypt container

To serve files from our local Linux machine to our Windows RDP target, we’ll need to create an NTFS VeraCrypt container.
Veracrypt can be downloaded from: https://www.veracrypt.fr/
After you’ve created the container, mount it in VeraCrypt and ensure you can view or browse to the location on your Linux machine, for example in Nautilus by navigating to /media/veracrypt1/location
Create a folder in this location, e.g. ’temp'.

Step 4 - Log back into Citrix and configure RDP to access the mounted VeraCrypt container

Log back into Citrix Workspace by navigating to the URL in your browser, then launch the RDP connection Window.
In the connection Window, click on “Show Options” (bottom left), the “Local Resources” tab, “More” (bottom), “Permit all access” on the popup window, and tick everything for good measure (though you probably only need to tick “Drives” and “Other PnP devices”, then click “OK”.
Click on the “General” tab, then “Connect” to intiate the RDP session.
Open “My Computer” or click on the folder icon in the Windows taskbar and your VeraCrypt container will now be accessible, likely as V: on Windows.

You can now transfer files to and from your Linux host to your Windows RDP host using the mounted VeraCrypt container.
If you’d like more information or would like your Citrix environment assessed for security issues feel free to contact us for a meeting or quotation.

citrix