tencent cloud

All product documents
Tencent Cloud Lighthouse
DocumentationTencent Cloud LighthouseOperation GuideTransfering FileUploading File from Linux to Windows Lighthouse Instance via rdesktop
Uploading File from Linux to Windows Lighthouse Instance via rdesktop
Last updated: 2022-05-12 12:24:13
Uploading File from Linux to Windows Lighthouse Instance via rdesktop
Last updated: 2022-05-12 12:24:13

Overview

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.

Prerequisites

You have obtained the Lighthouse instance admin account and password.
The default admin account of a Windows Lighthouse instance is Administrator.
If you forgot the login password, you can reset it.

Directions

Obtaining public IP

Log in to the Lighthouse console and get the public IP of the target Lighthouse instance on the Instances page.

Installing rdesktop

1. Open a terminal window and run the following command to download rdesktop. This step uses rdesktop v1.8.3 as an example.
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
3. Run the following commands to compile and install rdesktop.
./configure
make
make install
4. After the installation is complete, run the following command to check if rdesktop is successfully installed:
rdesktop

Uploading files

1. Run the following command to specify the folder shared to the Lighthouse instance:
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:


2. Double-click a shared folder to open it. Copy desired local files to another drive of the Windows Lighthouse instance. For example, copy the file A from the share folder to the C drive of the Windows Lighthouse instance.

Downloading files

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?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon