Personal custom command line
rdesktop 192.168.50.118 -u zhankun -p LPjj1234 -z -a 16 -x lan -r clipboard -g 1920x1050+0+0 -r sound:local -r disk:share=/home/lyp/zk_share
1、freedom
sudo apt install rdesktop
2. Windows side
1. Computer—Properties—Remote Settings—Remote, check: Allow remote connections to this computer;
2. Remote Desktop—Allow
3. Execute the command on the ubuntu side
1. Simple command line
rdesktop 192.168.50.118
Direct remote, other parameters default. 8-bit color is turned on by default, and the desktop background is black.
rdesktop 192.168.50.118 -u zhankun -p LPjj1234
-u username username changed to your own
-p password password changed to your own
2. The most commonly used command lines
rdesktop 192.168.50.118 -u zhankun -p LPjj1234 -f -z -a 16 -x lan
-f means full screen mode. Press Ctrl+Alt+Enter to switch between full screen and small screen
-a 16 means 16-bit color.
-z means to enable RDP data stream compression.
-x lan means use LAN-level image quality.
rdesktop 192.168.50.118 -u zhankun -p LPjj1234 -f -z -a 16 -x lan -r clipboard
-r clipboard means that the clipboard is allowed to be shared between the remote host and the local machine, and can be copied and pasted.
3. Optional command line
rdesktop 192.168.50.118 -u zhankun -p LPjj1234 -z -a 16 -x lan -r clipboard -g 1920x1050+0+0
-g desktop size (width * height) + 0 is the position where the remote window appears on the ubuntu desktop. The specific size is set according to the resolution of your own monitor.
rdesktop 192.168.50.118 -u zhankun -p LPjj1234 -z -a 16 -x lan -r clipboard -g 1920x1050+0+0 -r sound:local
-r sound:local means to bring the sound of the remote host to the local machine.
rdesktop 192.168.50.118 -u zhankun -p LPjj1234 -z -a 16 -x lan -r clipboard -g 1920x1050+0+0 -r sound:local -r disk:share=/home
Virtualize a mapping disk in the network neighborhood of the remote machine, and mount a certain folder under ubuntu to the remote host.
Double-click to open the shared folder, and copy the local files to be uploaded to other hard disks of the Windows server to complete the file upload operation.
For example, copy the A file in the share folder to the C: drive of the Windows server.