On RHEL6, Windows 7 KVM clients are unable to copy and paste to WordPad from xterm (or from WordPad to xterm)

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux (RHEL) 6.3
  • Red Hat Enterprise Virtualization (RHEV) 3.1
  • spice-vdagent-0.8.1-3.el6.x86_64

Issue

  • Windows 7 KVM clients are unable to copy and paste to WordPad from xterm (or from WordPad to xterm)

Resolution

The encoding has been fixed. Copying and pasting works as expected as the agent uses a new API that keeps track of clipboard changes, without the need to "trust" the behavior of other applications registered to the clipboard.

The problem with the vdagent has been resolved in the following errata:
http://rhn.redhat.com/errata/RHSA-2013-0924.html

Root Cause

Copying text, or .jpg and .png image files from specific applications such as Firefox, or xterm from a Windows guest, then pasting into a Linux client and vice versa resulted in an empty or black and white image due to incorrect pallete encoding in the guest and the spice vdagent agent stopped getting clipboard changes.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.