# US 2024/0004731 A1 · Clipboard data redirection between virtual desktops

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0004731 A1
- Document ID: US20240004731A1
- Status: Published application
- Kind: A1
- Application number: 17/902,870
- Filed: 2022-09-04
- Published: 2024-01-04
- Earliest claimed: 2022-07-04
- Assignees: VMware, Inc.
- Applicants: VMware, Inc.
- Inventors: Lin Lv
- Web page: https://patentgrep.com/patent/US20240004731A1

## CPC

- G06F 9/543: {User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]}
- G06F 9/452: {Remote windowing, e.g. X-Window System, desktop virtualisation (protocols for virtual reality H04L67/131)}
- H04L 67/34: {involving the movement of software or configuration parameters (network booting or remote initial program loading [RIPL] G06F9/4416)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Techniques are described for sharing clipboard data by redirecting it between different virtual desktop sessions. A first user establishes a first desktop session and submits a request to share their clipboard data with a second user working on a second virtual desktop session. The request to share clipboard data is transmitted from the first desktop session to a connection server, where it is determined whether the second user currently has any active virtual desktop sessions. If so, the connection server forwards the request to all active virtual desktop sessions of the second user, where the second user is provided with an option to approve or deny the request. If the second user approves the clipboard redirection request, the connection server notifies the first virtual desktop session, and a virtual channel of a remote display protocol can be established for sharing the clipboard data.

## Claims

### Claim 1

A method for sharing clipboard data between virtual desktop sessions, the method comprising:
in a first virtual desktop session being accessed by a first user on a first client device, receiving a request to share the clipboard data with a second virtual desktop session being accessed by a second user on a second client device;
sending the request to the second virtual desktop session;
displaying, on the second virtual desktop session, an indication that the clipboard data of the first virtual desktop session is requested to be shared with the second virtual desktop session and an option for the second user to approve the request to share the clipboard data;
receiving a response from the second virtual desktop session to the first virtual desktop session, indicating that the request to share the clipboard data has been approved;
detecting a cut/copy operation by the first user that places data into a clipboard of an operating system (OS) of the first virtual desktop session; and
redirecting the data in the clipboard of the first virtual desktop session to a clipboard of the second virtual desktop session to be accessible by the second user.

### Claim 2 (depends on 1)

The method of claim 1, wherein the data is an image or text, and further comprising:
in the second virtual desktop session,
receiving the image or text from the first virtual desktop session and storing the received image or text into the clipboard of an OS of the second virtual desktop session;
detecting a paste operation; and
retrieving the image or text from the clipboard of the second virtual desktop session in response to the paste operation.

### Claim 3 (depends on 1)

The method of claim 1, wherein the data is a file or folder, and further comprising:
in the second virtual desktop session,
receiving a path associated with the file or folder from the first virtual desktop session and storing the path into the clipboard of an OS of the second virtual desktop session;
detecting a paste operation;
sending, to the first virtual desktop session, a request to transfer the content of the file or folder from the first virtual desktop session to the second virtual desktop session, the request including the path; and
receiving the content of the file or folder from the first virtual desktop session in response to the request.

### Claim 4 (depends on 1)

The method of claim 1, wherein redirecting the data in the clipboard of the first virtual desktop session to the clipboard of the second virtual desktop session further comprises:
establishing a virtual channel of a remote display protocol and transmitting the data in the clipboard of the first virtual desktop session to the second virtual desktop session over the virtual channel.

### Claim 5

(canceled)

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
receiving the request from the first user to share the clipboard data with the second user;
determining all active virtual desktops that the second user is currently logged into; and
sending the request to share the clipboard data to each of all active virtual desktops.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
receiving a request to end clipboard data sharing from either the first virtual desktop session or the second virtual desktop session; and
discontinuing redirecting the data in the clipboard of the first virtual desktop session to the clipboard of the second virtual desktop session.

### Claim 8

A computing system, comprising:
at least one processor; and
memory including instructions that, when executed by the at least one processor, cause the computing system to perform the steps of:
in a first virtual desktop session being accessed by a first user on a first client device, receiving a request to share clipboard data with a second virtual desktop session being accessed by a second user on a second client device;
sending the request to the second virtual desktop session;
displaying, on the second virtual desktop session, an indication that the clipboard data of the first virtual desktop session is requested to be shared with the second virtual desktop session and an option for the second user to approve the request the request to share the clipboard data;
receiving a response from the second virtual desktop session to the first virtual desktop session, indicating that the request to share the clipboard data has been approved;
detecting a cut/copy operation by the first user that places data into a clipboard of an operating system (OS) of the first virtual desktop session; and
redirecting the data in the clipboard of the first virtual desktop session to a clipboard of the second virtual desktop session to be accessible by the second user.

### Claim 9 (depends on 8)

The computing system of claim 8, wherein the data is an image or text, and wherein the memory further comprises instructions for:
in the second virtual desktop session,
receiving the image or text from the first virtual desktop session and storing the received image or text into the clipboard of an OS of the second virtual desktop session;
detecting a paste operation; and
retrieving the image or text from the clipboard of the second virtual desktop session in response to the paste operation.

### Claim 10 (depends on 8)

The system of claim 8, wherein the data is a file or folder, and wherein the memory further comprises instructions for:
in the second virtual desktop session,
receiving a path associated with the file or folder from the first virtual desktop session and storing the path into the clipboard of an OS of the second virtual desktop session;
detecting a paste operation;
sending, to the first virtual desktop session, a request to transfer the content of the file or folder from the first virtual desktop session to the second virtual desktop session, the request including the path; and
receiving the content of the file or folder from the first virtual desktop session in response to the request.

### Claim 11 (depends on 8)

The system of claim 8, wherein redirecting the data in the clipboard of the first virtual desktop session to the clipboard of the second virtual desktop session further comprises:
establishing a virtual channel of a remote display protocol and transmitting the data in the clipboard of the first virtual desktop session to the second virtual desktop session over the virtual channel.

### Claim 12

(canceled)

### Claim 13 (depends on 8)

The system of claim 8, further comprising:
receiving the request from the first user to share the clipboard data with the second user;
determining all active virtual desktops that the second user is currently logged into; and
sending the request to share the clipboard data to each of all active virtual desktops.

### Claim 14 (depends on 8)

The system of claim 8, wherein the memory further comprises instructions for:
receiving a request to end clipboard data sharing from either the first virtual desktop session or the second virtual desktop session; and
discontinuing redirecting the data in the clipboard of the first virtual desktop session to the clipboard of the second virtual desktop session.

### Claim 15

A non-transitory computer readable storage medium comprising one or more sequences of instructions, the instructions when executed by one or more processors causing the one or more processors to execute the operations of:
in a first virtual desktop session being accessed by a first user on a first client device, receiving a request to share clipboard data with a second virtual desktop session being accessed by a second user on a second client device;
sending the request to the second virtual desktop session;
displaying, on the second virtual desktop session, an indication that the clipboard data of the first virtual desktop session is requested to be shared with the second virtual desktop session and an option for the second user to approve the request the request to share the clipboard data;
receiving a response from the second virtual desktop session to the first virtual desktop session, indicating that the request to share the clipboard data has been approved;
detecting a cut/copy operation by the first user that places data into a clipboard of an operating system (OS) of the first virtual desktop session; and
redirecting the data in the clipboard of the first virtual desktop session to a clipboard of the second virtual desktop session to be accessible by the second user.

### Claim 16 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein the data is an image or text, and further comprising instructions for:
in the second virtual desktop session,
receiving the image or text from the first virtual desktop session and storing the received image or text into the clipboard of an OS of the second virtual desktop session;
detecting a paste operation; and
retrieving the image or text from the clipboard of the second virtual desktop session in response to the paste operation.

### Claim 17 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein the data is a file or folder, and further comprising instructions for:
in the second virtual desktop session,
receiving a path associated with the file or folder from the first virtual desktop session and storing the path into the clipboard of an OS of the second virtual desktop session;
detecting a paste operation;
sending, to the first virtual desktop session, a request to transfer the content of the file or folder from the first virtual desktop session to the second virtual desktop session, the request including the path; and
receiving the content of the file or folder from the first virtual desktop session in response to the request.

### Claim 18 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein redirecting the data in the clipboard of the first virtual desktop session to the clipboard of the second virtual desktop session further comprises:
establishing a virtual channel of a remote display protocol and transmitting the data in the clipboard of the first virtual desktop session to the second virtual desktop session over the virtual channel.

### Claim 19

(canceled)

### Claim 20 (depends on 15)

The non-transitory computer readable storage medium of claim 15, further comprising instructions for:
receiving the request from the first user to share the clipboard data with the second user;
determining all active virtual desktops that the second user is currently logged into; and
sending the request to share the clipboard data to each of all active virtual desktops.
