Clipboard
RDP clipboard channel information regarding xrdp
RDP clipboard channel
the channel text in the mcs data is 'cliprdr'
This document details the RDP clipboard data communication between an RDP client like rdesktop or MTSC and a terminal server.
#define CLIPRDR_CONNECT 1
#define CLIPRDR_FORMAT_ANNOUNCE 2
#define CLIPRDR_FORMAT_ACK 3
#define CLIPRDR_DATA_REQUEST 4
#define CLIPRDR_DATA_RESPONSE 5
#define CLIPRDR_REQUEST 0
#define CLIPRDR_RESPONSE 1
#define CLIPRDR_ERROR 2
on connect
in 7
in 1
out 2
in 3
The in data below has the layer headers still on them. The channel data is in bold print.
The out data is only the channel data.
dump
in type 7 status 0 length 16
0000 03 00 00 3e 02 f0 80 68 00 01 03 ec f0 30 08 00 ...>...h.....0..
0010 03 81 36 f7 67 83 c9 47 1b 0f 1c 00 00 00 03 00 ..6.g..G........
0020 00 00
07 00 00 00 10 00 00 00 01 00 00 00 01 00 ................
0030 0c 00 01 00 00 00 01 00 00 00 00 00 00 00 ..............
in type 1 status 0 length 0
0000 03 00 00 2e 02 f0 80 68 00 01 03 ec f0 20 08 00 .......h..... ..
0010 26 00 48 31 c4 b0 87 82 a0 d9 0c 00 00 00 03 00 &.H1............
0020 00 00
01 00 00 00 00 00 00 00 00 00 00 00 ..............
out type 2 status 0 length 36
0000 0d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0020 00 00 00 00 ....
in type 3 status 1 length 0
0000 03 00 00 2e 02 f0 80 68 00 01 03 ec f0 20 08 00 .......h..... ..
0010 26 00 97 d4 2b 84 16 f4 58 8f 0c 00 00 00 03 00 &...+...X.......
0020 00 00
03 00 01 00 00 00 00 00 00 00 00 00 ..............
control c in rdesktop
in 2
out 3
dump
in type 2 status 0 length 144
0000 03 00 00 bf 02 f0 80 68 00 01 03 ec f0 80 b0 08 .......h........
0010 00 26 00 88 ba 85 f7 ce db cc b5 9c 00 00 00 03 .&..............
0020 00 00 00
02 00 00 00 90 00 00 00 0d 00 00 00 00 ................
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10 ................
0050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0070 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 ................
0080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0090 00 00 00 00 00 00 00 07 00 00 00 00 00 00 00 00 ................
00a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...............
out type 3 status 1 length 0
control v in kate or any x app
out 4
in 5
dump
out type 4 status 0 length 4
0000 0d 00 00 00 ....
in type 5 status 1 length 20
0000 03 00 00 42 02 f0 80 68 00 01 03 ec f0 34 08 00 ...B...h.....4..
0010 26 00 0d 62 c1 31 1c 15 a9 2c 20 00 00 00 03 00 &..b.1..., .....
0020 00 00
05 00 01 00 14 00 00 00 6a 00 61 00 79 00 ..........j.a.y.
0030 6c 00 65 00 6e 00 67 00 74 00 68 00 00 00 00 00 l.e.n.g.t.h.....
0040 00 00 ..
Last updated 10/03/2007