function Xrdp(parameters)


Creates an Xrdp canvas and connects to the FastX Server

Usage

var xrdpcanvas = new Xrdp(parameters);

Parameters

Required

Optional

  • username — name of the user who will connect (ignored by server)
  • keyboardLayout — keyboardLayout to use
  • keyboardType — keyboardType to use
  • ready  — function(canvas,cb) executed when the connection has been established
  • close — function() executed when the websocket closes
  • disableMouse — disable default mouse handlers
  • disableKeyboard — disable default keyboard handlers

 

Returns

  • the Xrdp canvas element