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
wiki:advanced:x2gohtmlclient [2021/12/31 21:23]
mikep Fix numbered list
wiki:advanced:x2gohtmlclient [2022/10/03 13:34] (current)
gratuxri [proof of concept installation on Ubuntu GNU/Linux from Launchpad PPA]
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 ======
Line 130: Line 130:
 Ensure the values of ''ssl_cert'' and ''ssl_key'' match the corresponding values in NGINX's configuration, Ensure the values of ''ssl_cert'' and ''ssl_key'' match the corresponding values in NGINX's configuration,
 and ensure the user running NGINX can read the files at both paths as well as the configuration file itself. and ensure the user running NGINX can read the files at both paths as well as the configuration file itself.
 +
 +===== proof of concept installation on Debian GNU/Linux =====
 +
 +<code>
 +sudo apt install extrepo
 +sudo extrepo enable x2go
 +sudo apt update
 +sudo apt install x2gohtmlclient
 +</code>
 +
 +===== proof of concept installation on Ubuntu GNU/Linux from Launchpad PPA =====
 +
 +<code>
 +sudo add-apt-repository ppa:x2go/nightly
 +sudo add-apt-repository ppa:x2go/ppa
 +sudo apt update
 +sudo apt install x2gohtmlclient
 +</code>
wiki/advanced/x2gohtmlclient.1640985835.txt.gz · Last modified: 2021/12/31 21:23 by mikep