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 numbered list
wiki:advanced:x2gohtmlclient [2022/01/02 18:56]
mikep Add x2gowswrapper to commands run by x2gowebrpc
Line 36: Line 36:
 ===== 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