This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wiki:advanced:x2gohtmlclient [2021/12/31 21:20] mikep Revise components section |
wiki:advanced:x2gohtmlclient [2022/10/03 13:34] (current) gratuxri [proof of concept installation on Ubuntu GNU/Linux from Launchpad PPA] |
||
---|---|---|---|
Line 14: | Line 14: | ||
===== x2gohtmlclient ===== | ===== x2gohtmlclient ===== | ||
- | |||
- | {{: | ||
Contains the JavaScript and other assets that are served to a browser. The main page is '' | Contains the JavaScript and other assets that are served to a browser. The main page is '' | ||
Line 25: | Line 23: | ||
* an optional proxy username, and | * an optional proxy username, and | ||
* an optional proxy password. | * an optional proxy password. | ||
+ | |||
+ | {{: | ||
+ | |||
'' | '' | ||
The file '' | The file '' | ||
The x2gohtmlclient package also provides CSS, images, and three JavaScript classes: | The x2gohtmlclient package also provides CSS, images, and three JavaScript classes: | ||
- | | + | |
- | | + | |
- | | + | |
===== 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 '' |
===== x2gowswrapper ===== | ===== x2gowswrapper ===== | ||
Line 44: | 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: | |
- | ''/ | + | |
< | < | ||
server { | server { | ||
Line 92: | Line 92: | ||
} | } | ||
</ | </ | ||
+ | Note that the location ''/ | ||
====== Building and Installing ====== | ====== Building and Installing ====== | ||
Line 129: | Line 130: | ||
Ensure the values of '' | Ensure the values of '' | ||
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 ===== | ||
+ | |||
+ | < | ||
+ | sudo apt install extrepo | ||
+ | sudo extrepo enable x2go | ||
+ | sudo apt update | ||
+ | sudo apt install x2gohtmlclient | ||
+ | </ | ||
+ | |||
+ | ===== proof of concept installation on Ubuntu GNU/Linux from Launchpad PPA ===== | ||
+ | |||
+ | < | ||
+ | sudo add-apt-repository ppa: | ||
+ | sudo add-apt-repository ppa: | ||
+ | sudo apt update | ||
+ | sudo apt install x2gohtmlclient | ||
+ | </ |