Skip to content

my0419/node-freerdp2

 
 

Repository files navigation

node-freerdp2

Node.js addon for libfreerdp2 (just for windows)

Dependencies

libfreerdp-client2 libwinpr2 libfreerdp2 libcliprdr-client libws2_32(windows)

Features

This is based on node-freerdp,devplop with freerdp 2.0.0-rc4 ,Support remote app、clipboard.

Example Usage

var freerdp = require('./index');

var rdp = new freerdp.Session({
    host: "host",
    domain : null, 
    username : "username",
    password : "password",
    port: 3389, // optional
    width: 1024, // optional
    height:768, // optional
    app:"notepad", // optional
    certIgnore: true,
}).connect();
setTimeout(function(){
    rdp.sendClipboard("optional");
},3000)
setTimeout(function(){
    rdp.close();
},10000) //dalay

Build with mstsc.js

https://github.com/Niap/mstsc.js

Todo

audio support

About

a nodejs c addon use freerdp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 94.6%
  • C++ 4.1%
  • Other 1.3%