Xrdp Events
The Xrdp client has custom events that signal when virtual channel data comes from the server. When building a custom client, add an event listener to the xrdp canvas to capture the event.
The event data is in the detail property of the event object (e.detail)
An Example can be found in
/usr/lib/fastx2/www/client/js/xrdp/client-canvas/client-canvas.js
in the fastx.ready function
snCfgUpdate
object that contains the configuration data for changing speed settings (Image Quality, FPS etc)
You can change these settings using the sendSetConfigOptionsRequest callback
snCfgResponse
The response object that is returned after sending a sendSetConfigOptionsRequest
snClipboardData
The clipboard data from the remote clipboard
snShareData
Sharing details
- isSharing — boolean – is sharing on
- clients — array — array of clients connected
- controllingClient — int — user who has control
snShareId
Sharing Id of the connected user. User with shareId = 0 is the session owner