Copy and paste text between your local computer and a VM

Copying and pasting text to and from an x86 The most common CPU architecture. x86 CPUs support Windows and Linux VMs in Skytap. VM in the Secure Remote Access (SRA) browser client is possible, but there are limitations. 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 mac OS computer, type instead of Ctrl (for example, +C instead of Ctrl+C).
  • If the basic keyboard shortcuts don’t work, use the VM Clipboard in the browser client toolbar to 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 press Ctrl+C to copy the text.
  2. In the VM, click where you want to paste the text.
  3. Press Ctrl+V. There may be a short delay after you press Ctrl+V before the text is pasted.

    Paste from a menu isn’t supported.


To copy text from a VM to your local computer
  1. Highlight the text in the VM, and then press Ctrl+C two times to copy the text.
  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

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 using the VM clipboard
  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 (+V if you’re using macOS) to paste the text into the VM Clipboard. A 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 (+V if you’re using macOS).

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


To copy text from a VM to your local computer using the VM clipboard
  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 press Ctrl+C to copy the text to your local clipboard. A 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

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 can’t 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’re 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 don’t 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.