Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rdp Win2003,show ERROR: NODE_RDP_PROTOCOL_X224_NEG_FAILURE() #22

Open
zhoutianwu opened this issue Oct 10, 2016 · 12 comments
Open

rdp Win2003,show ERROR: NODE_RDP_PROTOCOL_X224_NEG_FAILURE() #22

zhoutianwu opened this issue Oct 10, 2016 · 12 comments

Comments

@zhoutianwu
Copy link

rdp Win2003 ,show error:
[node-rdpjs] ERROR: NODE_RDP_PROTOCOL_X224_NEG_FAILURE()
Error
at new ProtocolError (file:///C:/Users/Administrator/Hozz5/app/main.js:138510:9)
at Client.recvConnectionConfirm (file:///C:/Users/Administrator/Hozz5/app/main.js:156822:10)
at TPKT. (file:///C:/Users/Administrator/Hozz5/app/main.js:156803:9)
at TPKT.g (events.js:286:16)
at emitOne (events.js:96:13)
at TPKT.emit (events.js:188:7)
at TPKT.recvData (file:///C:/Users/Administrator/Hozz5/app/main.js:137623:8)
at BufferLayer. (file:///C:/Users/Administrator/Hozz5/app/main.js:137614:9)
at BufferLayer.g (events.js:286:16)
at emitOne (events.js:96:13)
at BufferLayer.emit (events.js:188:7)
at BufferLayer.recv (file:///C:/Users/Administrator/Hozz5/app/main.js:137821:9)
at Socket. (file:///C:/Users/Administrator/Hozz5/app/main.js:137771:10)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:177:18)

@citronneur
Copy link
Owner

This is because node rdp doesn't support old version of RDP protocol.

@StefanScherer
Copy link

Change the settings on your server like this:

bildschirmfoto_2016-11-04_um_07_53_42

@citronneur
Copy link
Owner

Hi,

This is because old RDP protocol is not supported on node-rdpjs.

Sorry

@Karthikrajit
Copy link

I set Allow remote connections to this computer. But still it throws same error. Old RDP protocol is not supported on node-rdpjs, so how can we solved this issue. My destination server is windows 2012 r2

@sonianand11
Copy link

sonianand11 commented Jun 15, 2017

After doing configuration in machine, it works for me. However I have dynamic server creation in cloud and I can't go into server every time and change configuration. Which windows OS is supported @citronneur ?

Following is my windows machine configuration
screencapture-localhost-9250-1497511827125

UPDATE :
I have checked version of RDP and it shows me 10.2.
screencapture-localhost-9250-1497514111871

@StefanScherer
Copy link

@sonianand11 You can add the following line to your provisioning of your cloud servers

reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v UserAuthentication /t REG_DWORD /d 0 /f

After that I was able to use node-rdpjs with a Windows Server 2016 running in Azure.

@sonianand11
Copy link

sonianand11 commented Jun 15, 2017

@StefanScherer Thank you for reply. I am also using azure. I am creating windows instance by Ruby SDK . Can you please also suggest which part of configuration I need to add that line ?

@StefanScherer
Copy link

@sonianand11 I don't know the Ruby client, but I can show you how to run scripts within a "Deploy to Azure button" configuration azuredeploy.json I did a while ago in github.com/StefanScherer/docker-windows-azure repo.

@sonianand11
Copy link

@StefanScherer Thank you. This helps me. I will look more into it. I will also update if anything works for me via Ruby SDK

@citronneur
Copy link
Owner

I think ntlm auth la needed but not implemented . In next release.

@kochecc2
Copy link

What are the roadblocks to supporting older versions of the rdp protocol? I've been wanting to help code something, and I think adding support for this could be a good place to start.

@activeliang
Copy link

@sonianand11您可以将以下行添加到您的云服务器配置中

reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v UserAuthentication /t REG_DWORD /d 0 /f

之后,我能够在 Azure 中运行的 Windows Server 2016 中使用 node-rdpjs。

it works, thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants