tomatome / grdp

pure golang rdp protocol
GNU General Public License v3.0
195 stars 72 forks source link

No connect after connect in web #2

Open yuancpfive opened 3 years ago

yuancpfive commented 3 years ago

Hi, I run your project but get a problem, after run main.go in example folder and brower 127.0.0.1:8088, I got OnConnect 1 resume OnConnect 2 OnConnect 3 resume OnConnect 4 in terminal, how do i do to run it? thanks

tomatome commented 3 years ago

Hi, I run your project but get a problem, after run main.go in example folder and brower 127.0.0.1:8088, I got OnConnect 1 resume OnConnect 2 OnConnect 3 resume OnConnect 4 in terminal, how do i do to run it? thanks

refresh brower and retry This is a problem using the socketio method I'll solve it later when I have time

yuancpfive commented 3 years ago

@tomatome when I connect remote windows desktop, the broswer seem to be stoped, and I only can see a picture that loading windows, and it will not going on, noting change and can't control remote window desktop also. At last, the broser show toast undefined and exit the remote control view.

is this as same as when you test this code? or does this code work properly?

tomatome commented 3 years ago

@tomatome when I connect remote windows desktop, the broswer seem to be stoped, and I only can see a picture that loading windows, and it will not going on, noting change and can't control remote window desktop also. At last, the broser show toast undefined and exit the remote control view.

is this as same as when you test this code? or does this code work properly?

The rdp authentication protocol may be wrong, Standard RDP Authentication/SSL Authentication。 example/main.go:
g.x224.SetRequestedProtocol(x224.PROTOCOL_RDP) //g.x224.SetRequestedProtocol(x224.PROTOCOL_SSL)

yuancpfive commented 3 years ago

I run example/main.go directly, and do not modify the code yet, the code in main.go is use g.x224.SetRequestedProtocol(x224.PROTOCOL_RDP).

My environment is : rdp client: win10 rdp server: win7

Is there some wrong with my computer?

shreevari commented 2 years ago

@yuancpfive did you get it working? I'm facing the same issue