SoFunction
Updated on 2025-03-10

Detailed explanation of linux copy and paste in VMware virtual machine

1. Linux under VMware Workstation:

1. Update source (not required)

vi /etc/apt/

Adjust the domestic source address and search online by yourself.

#kali official source deb /kali kali-rolling main non-free contrib
#Tsinghua University Source deb /kali kali-rolling main contrib non-free
  deb-src /kali kali-rolling main contrib non-free

2. Update (not required)

apt-get update
apt-get upgrade
apt-get dist-upgrade

3. Install open-vm-tools-desktop

apt-get install open-vm-tools-desktop fuse

2. Copy and paste issues with VMware vSphere and ESXi

By default, VMware vSphere has disabled copy and paste operations for ESXi to prevent the disclosure of sensitive data copied to the clipboard.

1. Use the vSphere Client to log in to the vCenter Server and select the corresponding virtual machine, and turn off the power.

2. Select the virtual machine, right-click to select "Edit Settings", and then select "Options", "Advanced", "General", and "Configuration Parameters".

3. Click Add Row, and type the following value in the Name and Value columns, OK, and then close the dialog box.

 = false
 = false

4. Start the virtual machine and copy and paste.

3. Copy and paste shortcut keys under Linux.

1. Under the terminal:

Copy command: Ctrl + Shift + C key combination.

Paste command: Ctrl + Shift + V key combination.

2. Under the console:

Copy command: Ctrl + Insert key combination or select it with the mouse to copy.

Paste command: Shift + Insert key combination or clicking the mouse wheel is pasted.

Summarize

The above is the entire content of this article. I hope that the content of this article has certain reference value for your study or work. Thank you for your support.