rdesktop is an open source client for Remote Desktop Protocol (RDP) that allows a local computer to connect to a Windows Lighthouse instance. This document describes how to use it to upload files from a Linux computer to a Lighthouse instance with the Windows Server 2012 R2 operating system.
You have obtained the Lighthouse instance admin account and password.
Administrator
.Log in to the Lighthouse console and get the public IP of the target Lighthouse instance on the Instances page.
wget https://github.com/rdesktop/rdesktop/releases/download/v1.8.3/rdesktop-1.8.3.tar.gz
If you want to install the latest version, visit the rdesktop page on GitHub to find it. Then replace the path in the command with that of the latest version.
2. Run the following commands to decompress the installation package and enter the directory.
tar xvzf rdesktop-1.8.3.tar.gz
cd rdesktop-1.8.3
./configure
make
make install
rdesktop
rdesktop Lighthouse instance public IP -u Lighthouse instance account -p Lighthouse instance login password -r disk:Specified shared folder name=Local folder path
For example, run the following command to share the /home
folder on your local Linux computer with the specified Lighthouse instance, and rename it as share
.
rdesktop 118.xx.248.xxx -u Administrator -p 12345678 -r disk:share=/home
If the operation is successful, the Windows desktop will appear.
Click in the lower-left corner and select My Computer to see a list of shared folders as shown below:
share
folder to the C drive of the Windows Lighthouse instance.To download files from the Windows Lighthouse instance to your computer, you only need to copy desired files from the instance to a shared folder.
Was this page helpful?