Here is my experimental (but working) implementation of X11 vdagent: http://gitorious.org/~elmarco/spice/elmarcos-vd_agent/commits/master and spice-gtk "wip/clipboard-selection" implements it. http://gitorious.org/spice-gtk/spice-gtk/commits/wip/clipboard-selection cheers -- Marc-André Lureau