Advanced Search
Search Results
137 total results found
5.6 – SNMP integration
Configuration in gateway.conf: #agent address and port: snmp.address.get-set = udp:192.168.1.68/1161 snmp.mib.prop.file = /SparkGateway/snmp/snmp-agent-mib.properties nmp.table.size.limits.prop.file = /SparkGateway/snmp/snmp-agent-table-size-limits.properties ...
6.1 – Reporting API (query server status, client side JavaScript API)
Include "gateway.js" in your web page: var gw = new Gateway("192.168.9.118"); gw.login("password"); gw.report(); //output to console gw.report(callback); //output to callback method gw.checkLicense(callback2); //check license status function callback(obj) { ...
6.2 – RDP library (client side JavaScript API)
Further links to the coresponding subpages: 6.2.1 – RDP parameters 6.2.2 – Passing parameter via URL 6.2.3 – Passing parameter via object or cookie 6.2.4 – Usage of RDP class 6.2.5 – Extend RDP: Virtual Channel and Dynamic Virtual Channel 6.2.6 – E...
6.2.1 – RDP parameters
Parameter Value gateway BindString, address and listening port of the gateway.For example: 192.168.0.8:443 server St...
6.2.2 – Passing parameters via URL (Connection String)
URL components ❗️ Important Please use "on" and "off" for Boolean value if you are using URL to pass parameters. Basically, a RDP connection string consists of the following main components: [protocol]://[domain]/rdpdirect.html?[parameters] The parameters ar...
6.2.3 – Passing parameter via object or cookie
Rdp2 class can be used to replace Rdp class. You can pass a object to Rdp2: varobj = {gateway: "192.168.0.2", server:"192.168.0.8", user: "user"}; var r = new svGlobal.Rdp2(obj); Rdp2 class will create an object from cookies if obj is undefined. If value of t...
6.2.4 – Usage of RDP class
Properties: Name Type Description appTimeout Int Close the RemoteApp if no Windows found after this period, default is 800 ms. displayMsg Boolean I...
6.2.5 – Extend RDP: Virtual Channel and Dynamic Virtual Channel
You can create multiple virtual channels and dynamic virtual channels on client side using JavaScript (you can only create one VC before 4.0): var r = new svGlobal.Rdp(protocol + gw + "/RDP?"+ s, w, h, server_bpp); var vc = new r.VirtualChannel(); //Use r.Dyna...
6.2.6 – Extend Gateway: Gateway Channel
You can create multiple gateway channels to create a communication layer between client browser and the gateway: var gvc = new r.GatewayChannel(); gvc.name = "gwc"; gvc.process = function(buffer){ console.log(buffer.getByte()); console.log(buffer.getLittle...
6.3 – Plug-ins (server side Java API)
Your plug-in must implement com.toremote.gateway.plugin.ManagerInterface. With the plugin, you can do authentication integration, session querying and reporting, RemoteApp management and RDP virtual channel extensions, player integration, new websocket protoco...
6.4 – HTTP Request API (server side)
You can use HTTP request to create server, symlink dynamically if you don't want to write a plug-in. Create servers on gateway: http://gatewayAddress/SERVER?id=serverId&displayName=Name&server=hostName&gatewayPwd=pas swordInGateway.conf&... gatewayPwd is hexad...
Appendix A – Shortcut keys
CTRL+ALT+END Brings up the Windows Security dialog box. ALT+PAGE UP Switches between programs from left to right. ALT+PAGE DOWN Switches between programs from right to left. ALT+INSERT Cycles through the programs in the order they were started. ALT+HOME ...
Appendix B – Browser support
Browser Minimum version Comments Mozilla Firefox 11.0 Audio redirection: 51 Google Chrome 16.0 (Desktop), 18.0 (Android) Audio redirection: 49 Apple Safari (Desktop and iOS) 6.0 Audio redirection: 10 (recording is not supported) Internet Explorer ...
Appendix C – EchoHandler and network check
There is an EchoHandler on the gateway which can be used to check network connectivity and latency. Please check the NetworkChecker tool in rdp.page.js. This can be used to check the network latency between browser and gateway.
Appendix D – configuration example for nginx
server { listen 80; location / { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://192.168.8.2; } location ~ /LIST|/RDP|/VNC|/LOGIN|/GATE...
Appendix E – configuration example for Apache Proxy
<VirtualHost *:443> ServerName spark.gateway.com DocumentRoot C:/Apache24/htdocs/reverseproxy RequestHeader unset Accept-Encoding Header Set MCOE-Gateway "spark.gateway.v1" Header set Content-Security-Policy-Report-Only "default-src https://spark....
Appendix F – configuration for Juniper, Cisco, Dell etc SSL VPN
It's very easy if the VPN supports WebSocket. You just need to create a web application resource profile (bookmark) or application offloading and specify the URL of the gateway. Make sure you update SparkView to 4.8.6 or later which improved the compatibility ...
Appendix G – SMB path
SMB Path can also be used for recording, drive redirection etc., for example: recdir = smb://domain;username:password@sparkcloud/ShareName/path tmpdir = smb://domain;username:password@sparkcloud/ShareName/path Variables can also be used in drive direction path...
Appendix H – Ping
You can enable Ping on client side by setting pingInterval (seconds) parameter, or use rdp.startPing(interval). The client will only send ping package when the session is idle. This is helpful if there is idle timeout configuration in user’s environment (route...
Appendix I – TrustStore
When you RDP server or VNC server are using TLS encryption. You can allow user connect to trusted server only: Export the certificate from the server (Public key only). For RDP server, run “certlm.msc”, Click “Remote Desktop” -> Certificates. Right click on t...