Copy and paste text between your local computer and a VM

When you use the Secure Remote Access (SRA) browser client with an x86 The most common type of CPU for Windows and Linux VMs in Skytap Cloud. VM, there are two ways to copy and paste text between your local computer and the VM:

  • Use keyboard shortcuts like Ctrl+C and Ctrl+V to copy and paste text. On a macOS computer, use Cmd instead of Ctrlin your keyboard shortcuts (for example, Cmd+C instead of Ctrl+C).
  • If the basic keyboard shortcuts do not work, use the VM Clipboard in the browser client toolbar to more reliably copy and paste text.

The sections below provide detailed instructions for both methods.

Notes

Contents

Using keyboard shortcuts

To copy text from your local computer to a VM
  1. Highlight the text on your local computer. Right-click and select Copy, or use a keyboard shortcut (Ctrl+C) to copy the text.
  2. In the VM, click where you want to paste the text.
  3. Press Ctrl+V. Paste from a menu is not supported. There may be a short delay after you press click Ctrl+V before the text is pasted.


To copy text from a VM to your local computer
  1. Highlight the text in the VM, and press Ctrl+C two times to copy the text.

    Internet Explorer asks for permission to use the local clipboard, after which you can copy text from a VM application by pressing Ctrl+C only once (instead of two times). ie clipboard

  2. On your local computer, click where you want to paste the text.
  3. Press Ctrl+V or right-click and select Paste.

Using the VM Clipboard

The SRA browser client toolbar contains a VM Clipboard clipboard tool that displays the contents of the VM keyboard. This tool provides a staging area for copying text between the VM and your local computer. It can hold up to 32KB of plain text.

VM Clipboard

VM Clipboard tool

If the VM Clipboard icon clipboard isn’t in the toolbar, you don’t have permission to copy and paste to the VM.

To copy text from your local computer to a VM
  1. Highlight the text on your local computer. Right-click and select Copy (or press Ctrl+C) to copy the text. This places the text on your local clipboard.
  2. In the VM browser window, click clipboard to open the VM Clipboard view.
  3. Right-click and select Paste (or press Ctrl+V) to paste the text into the VM Clipboard. A success (Success) message displays in the VM Clipboard window.
  4. In the VM, click where you want to paste the text.
  5. Right-click and select Paste (or press Ctrl+V).

    vim doesn’t use the system clipboard—to paste text into vim, press Ctrl+Shift+V.


To copy text from a VM to your local computer
  1. Highlight the text in the VM. Right-click and select Copy (or press Ctrl+C) to copy the text to the VM Clipboard.
  2. In the VM browser window, click clipboard to open the VM Clipboard view.
  3. Highlight the text in the VM Clipboard window.
  4. Right-click and select Copy (or click Ctrl+C) to copy the text to your local clipboard. A success (Success) message displays in the VM Clipboard window.
  5. On your local computer, click where you want to paste the text.
  6. Right-click and select Paste (or press Ctrl+V).

Troubleshooting copy and paste issues

When using keyboard shortcuts to copy text from the VM to your local computer:

  • If no text is pasted or if text from a previous copy operation is pasted, try the copy operation again with a short pause before you press Ctrl+C the second time.

If you cannot copy and paste to the VM:

  • Make sure you’ve used your mouse to click in the window you want to copy text from or paste text to. The window you are viewing may not be the active window.
  • Check whether copy and paste has been disabled on the VM.

    • If you have a Skytap account and permission to view the VM settings, check the copy and paste permissions on the VM Settings page (see Overview of VM hardware and guest OS settings).
    • If you do not have a Skytap account, ask your instructor or administrator to check the VM copy and paste permissions for you.
  • Make sure the most recent supported version of VMware Tools is installed on the VM; otherwise, copy and paste may not function.

Disabling copy and paste permissions

To control whether users can copy and paste text to and from the VM in a browser client session, see Overview of VM hardware and guest OS settings.