User Tools

Site Tools


wiki:advanced:x2gohtmlclient

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
wiki:advanced:x2gohtmlclient [2021/12/31 21:23]
mikep Fix whitespace
wiki:advanced:x2gohtmlclient [2022/01/02 18:56]
mikep Add x2gowswrapper to commands run by x2gowebrpc
Line 30: Line 30:
  
 The x2gohtmlclient package also provides CSS, images, and three JavaScript classes: The x2gohtmlclient package also provides CSS, images, and three JavaScript classes:
-  1. ''x2godomcontroller.js'', which handles communication between the HTML page and the X2Go HTML client; +  -   ''x2godomcontroller.js'', which handles communication between the HTML page and the X2Go HTML client; 
-  2. ''x2gohtmlclient.js'', which handles communication between the X2Go RPC script and the X2Go HTML client; and +  -   ''x2gohtmlclient.js'', which handles communication between the X2Go RPC script and the X2Go HTML client; and 
-  3. ''x2gokdrivehtmlclient.js'', which implements the X2Go KDrive client.+  -   ''x2gokdrivehtmlclient.js'', which implements the X2Go KDrive client.
  
 ===== x2gowebrpc ===== ===== x2gowebrpc =====
  
-The x2gorpc.cgi CGI script connects to the X2Go server using SSH and starts sessions, resumes sessions, starts SSH tunnels and so on in response to requests from the browser.+The x2gorpc.cgi CGI script connects to the X2Go server using SSH and starts sessions, resumes sessions, starts SSH tunnels and so on in response to requests from the browser. This involves using SSH to run ''x2golistsessions'', run ''x2gostartagent'', start a tunnel using SSH's ''-N'' and ''-L'' arguments, run ''x2goruncommand'', and run ''x2gowswrapper''.
  
 ===== x2gowswrapper ===== ===== x2gowswrapper =====
Line 45: Line 45:
  
 We describe how to configure NGINX and fcgiwrap, but you can substitute any web server that provides the needed features. We describe how to configure NGINX and fcgiwrap, but you can substitute any web server that provides the needed features.
- +Here is an example NGINX configuration:
-''/etc/nginx/sites-available/<your host>-ssl:''+
 <file> <file>
 server { server {
Line 93: Line 92:
 } }
 </file> </file>
 +Note that the location ''/x2gows/PORT'' gets proxied to a process on localhost listening to PORT. The is the x2gowswrapper process.
  
 ====== Building and Installing ====== ====== Building and Installing ======
wiki/advanced/x2gohtmlclient.txt · Last modified: 2022/10/03 13:34 by gratuxri