Giter Club home page Giter Club logo

mstsc.js's People

Contributors

citronneur avatar ianchanning avatar kekxv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mstsc.js's Issues

bug

bug: win7下方向键编程数字了
当输入 方向键
的时候,变成数字:
上 8
右 6
下 2
左 4
为什么?

NODE_RDP_PROTOCOL_X224_NEG_FAILURE()

@citronneur I am getting the following issue and unable to debug it. Please help me resolve.

 [node-rdpjs] INFO:     screen 1366x667
 [node-rdpjs] INFO:     english keyboard layout
 [node-rdpjs] INFO:     connect to 192.168.0.5:3389
 [node-rdpjs] ERROR:    NODE_RDP_PROTOCOL_X224_NEG_FAILURE()
 Error
     at new ProtocolError (/home/anant/mstscjs/node_modules/node-rdpjs/lib/core/error.js:40:8)
     at Client.recvConnectionConfirm (/home/anant/mstscjs/node_modules/node-rdpjs/lib/protocol/x224.js:221:9)
     at TPKT.<anonymous> (/home/anant/mstscjs/node_modules/node-rdpjs/lib/protocol/x224.js:202:8)
     at TPKT.g (events.js:260:16)
     at emitOne (events.js:77:13)
     at TPKT.emit (events.js:169:7)
     at TPKT.recvData (/home/anant/mstscjs/node_modules/node-rdpjs/lib/protocol/tpkt.js:110:7)
     at BufferLayer.<anonymous> (/home/anant/mstscjs/node_modules/node-rdpjs/lib/protocol/tpkt.js:101:8)
     at BufferLayer.g (events.js:260:16)
     at emitOne (events.js:77:13)

Socket Connection not working

I'm can't get my client socket connection to connect to my server. My server is running and RDP connections are enabled but when I try to connect from a client browser, the "connection" event never happens when I try to connect to my RDP server, and I'm redirected to a blank canvas html page. I'm not getting an errors along the way.

Any ideas what might be happening?

node 10.16.0 cannot run

When my node is 8.9.3, this project is ok. But while my node is 10.16.0, it cannot work. And the error log is like this:

Error: read ECONNRESET
at TCP.onStreamRead (internal/stream_base_commons.js:182:27)

Please update bignum library to new version

Hi.

I lost many hours to compile the library.
I successfully configured the development environment by following this guide:

http://www.serverpals.com/blog/building-using-node-gyp-with-visual-studio-express-2015-on-windows-10-pro-x64

If I run the command:
npm install node-rdp
npm install successfully version
[email protected]

But if I used the command:
npm install mstsc.js
npm want to install [email protected]

105 silly resolveWithNewModule [email protected] checking installable status
106 silly cache add args ['bignum@^0.10.2', null]

and does not compile :-(

How can I force mstsc.js to use the new version of the library?
Can you help me?

Support for node 4

Hello,

I'm from the Cozy Cloud team. We planned to support node 4 in the sort term and we offer help for community application to do that too.

mstsc.js can't be installed with node 4 currently because it depends on [email protected] that comes with [email protected]. A fix for node 4 support has landed on node-rdpjs master branch (citronneur/node-rdpjs@de7113a).

I think all you have to do is release a new version of node-rdpjs and use it in mstsc.js. And if you want help, ask me: this issue is mostly for that, offering my help.

(node:49957) [DEP0064] DeprecationWarning: tls.createSecurePair() is deprecated. Please use tls.TLSSocket instead.

[node-rdpjs] INFO:	screen 1282x332
[node-rdpjs] INFO:	english keyboard layout
[node-rdpjs] INFO:	connect to 192.168.10.124:3389
[node-rdpjs] INFO:	SSL standard security selected
(node:51484) [DEP0010] DeprecationWarning: crypto.createCredentials is deprecated. Use tls.createSecureContext instead.
(node:51484) [DEP0064] DeprecationWarning: tls.createSecurePair() is deprecated. Please use tls.TLSSocket instead.

connect nothing
image
no error
image

in win7 input bug

in win7 input bug

when -> why
left - > 4
up -> 8
right -> 2
down - > 6
why?

[bug]NODE_RDP_PROTOCOL_X224_NEG_FAILURE()

node -v
v16.14.2

$ node server.js

[node-rdpjs] INFO: screen 1421x795
[node-rdpjs] INFO: english keyboard layout
[node-rdpjs] INFO: connect to xxxxx:3389
[node-rdpjs] ERROR: NODE_RDP_PROTOCOL_X224_NEG_FAILURE()
Error
at new ProtocolError (/Users/51pwn/MyWork/mstsc.js/node_modules/node-rdpjs/lib/core/error.js:40:8)
at Client.recvConnectionConfirm (/Users/51pwn/MyWork/mstsc.js/node_modules/node-rdpjs/lib/protocol/x224.js:221:9)
at TPKT. (/Users/51pwn/MyWork/mstsc.js/node_modules/node-rdpjs/lib/protocol/x224.js:202:8)
at Object.onceWrapper (node:events:646:26)
at TPKT.emit (node:events:526:28)
at TPKT.recvData (/Users/51pwn/MyWork/mstsc.js/node_modules/node-rdpjs/lib/protocol/tpkt.js:110:7)
at BufferLayer. (/Users/51pwn/MyWork/mstsc.js/node_modules/node-rdpjs/lib/protocol/tpkt.js:101:8)
at Object.onceWrapper (node:events:646:26)
at BufferLayer.emit (node:events:526:28)
at BufferLayer.recv (/Users/51pwn/MyWork/mstsc.js/node_modules/node-rdpjs/lib/core/layer.js:92:8)

Not working with Windows 2003

Hi/Salut Citronneur,

it seems that the node client is unable to connect to RDP version used by Windows 2003. When you submit the form you're redirected immediately to the default page with an empty form.

Remote USB

This may be ENTIRELY out of scope for the project, but would it eventually be possible to implement remote USB? I know that the RDP protocol supports this (I read about it on the Virtualbox user manual), but it's probably very complicated. Perhaps this could be done through Chrome's USB API. I realize that Firefox and many other browser's don't support this, but it would certainly be helpful for Chrome users.

connect fail

It was work about six months ago, not worked now.
error is NODE_RDP_PROTOCOL_X224_NEG_FAILURE()
change rdp protoal to ssl
error is undefined(undefined)
image

TypeError: crypto.createCredentials is not a function

Hi there,
When i am running the project after doing connect I'm getting this error :

TypeError: crypto.createCredentials is not a function
at BufferLayer.startTLS (D:\rdp\mstsc.js-master\mstsc.js-master\node_modules\node-rdpjs\lib\core\layer.js:127:39)
at Client.recvConnectionConfirm (D:\rdp\mstsc.js-master\mstsc.js-master\node_modules\node-rdpjs\lib\protocol\x224.js:245:28)
at TPKT. (D:\rdp\mstsc.js-master\mstsc.js-master\node_modules\node-rdpjs\lib\protocol\x224.js:202:8)
at Object.onceWrapper (events.js:300:26)
at TPKT.emit (events.js:210:5)
at TPKT.recvData (D:\rdp\mstsc.js-master\mstsc.js-master\node_modules\node-rdpjs\lib\protocol\tpkt.js:110:7)
at BufferLayer. (D:\rdp\mstsc.js-master\mstsc.js-master\node_modules\node-rdpjs\lib\protocol\tpkt.js:101:8)
at Object.onceWrapper (events.js:300:26)
at BufferLayer.emit (events.js:210:5)
at BufferLayer.recv (D:\rdp\mstsc.js-master\mstsc.js-master\node_modules\node-rdpjs\lib\core\layer.js:92:8)

Any help please?

Screen not displaying properly.

I'm getting a screen like:

h7v7dnu

The screen slowly fills over time.

Attempting from:
Windows 8.1; Chrome 43.0.2357.132 m (64-bit)

Server:
CentOS 7.1.1503
NodeJS v0.12.6

Machine trying to reach:
Windows 8.1

Seems to connect fine from the node messages on the server. I have also tried in Firefox. Would it have to do with the "host" machine having multiple monitors? Let me know if you need any other data.

Custom Port

Tested mstsc.js inside of cozy, but I am not able to specify a custom port in the ip address field, had many cases where this should be needed to get a connection. Is there a trick or a workaround to enable it?

Support of Server Pointer Update PDU (TS_POINTER_PDU)

The current implementation seems doesn't support server pointer update.
When RDP server change the mouse pointer style by mouse hover effect, this RDP client will always use default mouse pointer. According to spec, RDP client should be able to reflect such update.

Please advise if it's possible to add such feature, many thanks!

Session Controls

How can we implement controls for the session like disconnecting or changing resolution settings?

Something else than cozy

Hello,

I have a question about the soft,

Is it possible to use it with a custom rdp server on my computer?

Or do I need cozy cloud ? Because I don't want to use cozy cloud.

Thank you for the answer.
Regards,

报错 validation.cc win_delay_load_hook.cc 在此解决方案中一次生成一个项目。若要启用并行生成,请添加“/m”开关。

在此解决方案中一次生成一个项目。若要启用并行生成,请添加“/m”开关。
validation.cc
win_delay_load_hook.cc
c:\users\user\dsktop\mstsc.js\node_modules\utf-8-validate\node_modules\nan\nan_maybe_43_inl.h(88): error C2039: “ForceSet”: 不是“v8::Object”的成员 (编
译源文件 ..\s
rc\validation.cc) [C:\Users\user\Dsktop\mstsc.js\node_modules\utf-8-validate\build\validation.vcxproj]

Connection parameters

I'd like to be able to search a server to connect from a list.
Maybe able to send parameters in a POST form.

Similar to Guacamole with "Guacamole HMAC Auth"

Is that already possible ?

at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:57:26)

[node-rdpjs] ERROR: ENOTFOUND(getaddrinfo ENOTFOUND 111.207.67.35 111.207.67.35:3389)
Error: getaddrinfo ENOTFOUND 111.207.67.35 111.207.67.35:3389
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:57:26)
use system tools:
image

[node-rdpjs] ERROR:	NODE_RDP_PROTOCOL_X224_NEG_FAILURE()
Error
    at new ProtocolError (/root/mytools/hktools_MTX/app/node_modules/node-rdpjs/lib/core/error.js:40:8)
    at Client.recvConnectionConfirm (/root/mytools/hktools_MTX/app/node_modules/node-rdpjs/lib/protocol/x224.js:221:9)
    at TPKT.<anonymous> (/root/mytools/hktools_MTX/app/node_modules/node-rdpjs/lib/protocol/x224.js:202:8)
    at Object.onceWrapper (events.js:273:13)
    at TPKT.emit (events.js:182:13)
    at TPKT.recvData (/root/mytools/hktools_MTX/app/node_modules/node-rdpjs/lib/protocol/tpkt.js:110:7)
    at BufferLayer.<anonymous> (/root/mytools/hktools_MTX/app/node_modules/node-rdpjs/lib/protocol/tpkt.js:101:8)
    at Object.onceWrapper (events.js:273:13)
    at BufferLayer.emit (events.js:182:13)
    at BufferLayer.recv (/root/mytools/hktools_MTX/app/node_modules/node-rdpjs/lib/core/layer.js:92:8)

Caps Lock is inverted

Running this on Mac, the caps lock is inverted (when it's on for my Mac, the RDP thinks it's off and vice versa). I've also found that the caps lock button lags so enabling and disabling caps lock isn't seamless, making it hard to type quickly.

Anyone else having these issues?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.