ILLGrenoble / ngx-remote-desktop

Angular component for accessing remote desktops using guacamole
https://illgrenoble.github.io/ngx-remote-desktop/
MIT License
35 stars 38 forks source link

How i can connect this to nodejs server? #10

Open mehdi-nejati opened 5 years ago

mehdi-nejati commented 5 years ago

Hi ,thanks for this. I want use guacamole-lite package on my server inside of guacamole-server. i try by connecting to server but i have errors: "Token validation failed" and "Unexpected token ! in JSON at position 0".

I write this code for connect:

const parameters = { token: { connection: { type: 'rdp', settings: { hostname: '127.0.0.1', username: 'Administrator', password: 'pAsSwOrD', 'enable-drive': true, 'create-drive-path': true, security: 'any', 'ignore-cert': true, 'enable-wallpaper': false, }, }, }, }; this.manager.connect(parameters);