[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:advanced:x2gohtmlclient
A page in your DokuWiki was added or changed. Here are the details: Browser : Mozilla/5.0 (X11; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0 IP Address : 37.49.33.229 Hostname: ip-037-049-033-229.um09.pools.vodafone-ip.de Old Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient?rev=1664803807 New Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient Date of New Revision: 2022/10/03 13:34 Edit Summary: [proof of concept installation on Ubuntu GNU/Linux from Launchpad PPA] User: gratuxri There may be newer changes after this revision. If this happens, a message will be shown on the top of the rev page. @@ -144,6 +144,6 @@ sudo add-apt-repository ppa:x2go/nightly sudo add-apt-repository ppa:x2go/ppa sudo apt update - apt install x2gohtmlclient + sudo apt install x2gohtmlclient -- This mail was generated by DokuWiki at https://wiki.x2go.org/ ___ x2go-commits mailing list x2go-commits@lists.x2go.org https://lists.x2go.org/listinfo/x2go-commits
[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:advanced:x2gohtmlclient
A page in your DokuWiki was added or changed. Here are the details: Browser : Mozilla/5.0 (X11; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0 IP Address : 37.49.33.229 Hostname: ip-037-049-033-229.um09.pools.vodafone-ip.de Old Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient?rev=1641149797 New Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient Date of New Revision: 2022/10/03 13:30 Edit Summary: User: gratuxri There may be newer changes after this revision. If this happens, a message will be shown on the top of the rev page. @@ -128,4 +128,22 @@ log_dir=/var/log/x2gows 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. + + = 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:x2go/nightly + sudo add-apt-repository ppa:x2go/ppa + sudo apt update + apt install x2gohtmlclient + -- This mail was generated by DokuWiki at https://wiki.x2go.org/ ___ x2go-commits mailing list x2go-commits@lists.x2go.org https://lists.x2go.org/listinfo/x2go-commits
[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:advanced:x2gohtmlclient
A page in your DokuWiki was added or changed. Here are the details: Browser : Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0 IP Address : 137.26.240.242 Hostname: 137-026-240-242.biz.spectrum.com Old Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient?rev=1641149728 New Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient Date of New Revision: 2022/01/02 18:56 Edit Summary: Add x2gowswrapper to commands run by x2gowebrpc User: mikep There may be newer changes after this revision. If this happens, a message will be shown on the top of the rev page. @@ -34,9 +34,9 @@ - ''x2gokdrivehtmlclient.js'', which implements the X2Go KDrive client. = 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. This involves using SSH to run x2golistsessions, run x2gostartagent, start a tunnel using SSH's ''-N'' and ''-L'' arguments, and run x2goruncommand. + 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 = The x2gowswrapper program connects the TCP sockets of the X2Go KDrive agent with WebSockets created by the browser. -- This mail was generated by DokuWiki at https://wiki.x2go.org/ ___ x2go-commits mailing list x2go-commits@lists.x2go.org https://lists.x2go.org/listinfo/x2go-commits
[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:advanced:x2gohtmlclient
A page in your DokuWiki was added or changed. Here are the details: Browser : Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0 IP Address : 137.26.240.242 Hostname: 137-026-240-242.biz.spectrum.com Old Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient?rev=1641149699 New Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient Date of New Revision: 2022/01/02 18:55 Edit Summary: Fix typo User: mikep There may be newer changes after this revision. If this happens, a message will be shown on the top of the rev page. @@ -34,9 +34,9 @@ - ''x2gokdrivehtmlclient.js'', which implements the X2Go KDrive client. = 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. This involves using SSH to run x2golistsessions, run x2gostartagent, start a tunnel using SSH's ''-N'' and ''-L'' arguments, and run and x2goruncommand. + 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, and run x2goruncommand. = x2gowswrapper = The x2gowswrapper program connects the TCP sockets of the X2Go KDrive agent with WebSockets created by the browser. -- This mail was generated by DokuWiki at https://wiki.x2go.org/ ___ x2go-commits mailing list x2go-commits@lists.x2go.org https://lists.x2go.org/listinfo/x2go-commits
[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:advanced:x2gohtmlclient
A page in your DokuWiki was added or changed. Here are the details: Browser : Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0 IP Address : 137.26.240.242 Hostname: 137-026-240-242.biz.spectrum.com Old Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient?rev=1640986030 New Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient Date of New Revision: 2022/01/02 18:54 Edit Summary: Specify the commands x2gowebrpc runs User: mikep There may be newer changes after this revision. If this happens, a message will be shown on the top of the rev page. @@ -34,9 +34,9 @@ - ''x2gokdrivehtmlclient.js'', which implements the X2Go KDrive client. = 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, and run and x2goruncommand. = x2gowswrapper = The x2gowswrapper program connects the TCP sockets of the X2Go KDrive agent with WebSockets created by the browser. -- This mail was generated by DokuWiki at https://wiki.x2go.org/ ___ x2go-commits mailing list x2go-commits@lists.x2go.org https://lists.x2go.org/listinfo/x2go-commits
[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:advanced:x2gohtmlclient
A page in your DokuWiki was added or changed. Here are the details: Browser : Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0 IP Address : 137.26.240.242 Hostname: 137-026-240-242.biz.spectrum.com Old Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient?rev=1640985835 New Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient Date of New Revision: 2021/12/31 21:27 Edit Summary: [Configuring the Web Server] User: mikep There may be newer changes after this revision. If this happens, a message will be shown on the top of the rev page. @@ -43,10 +43,9 @@ == Configuring the Web Server == We describe how to configure NGINX and fcgiwrap, but you can substitute any web server that provides the needed features. - - ''/etc/nginx/sites-available/-ssl:'' + Here is an example NGINX configuration: server { listen 443 ssl; server_name your_host; @@ -91,8 +90,9 @@ proxy_ssl_session_reuse off; } } + Note that the location ''/x2gows/PORT'' gets proxied to a process on localhost listening to PORT. The is the x2gowswrapper process. == Building and Installing == = x2gohtmlclient = -- This mail was generated by DokuWiki at https://wiki.x2go.org/ ___ x2go-commits mailing list x2go-commits@lists.x2go.org https://lists.x2go.org/listinfo/x2go-commits
[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:advanced:x2gohtmlclient
A page in your DokuWiki was added or changed. Here are the details: Browser : Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0 IP Address : 137.26.240.242 Hostname: 137-026-240-242.biz.spectrum.com Old Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient?rev=1640985788 New Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient Date of New Revision: 2021/12/31 21:23 Edit Summary: Fix numbered list User: mikep There may be newer changes after this revision. If this happens, a message will be shown on the top of the rev page. @@ -28,11 +28,11 @@ ''index.html'' can be edited to set a default server and so on. The file ''x2gokdriveclient.html'' allows for running the X2Go client in a separate window. 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; - 2. ''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. + - ''x2godomcontroller.js'', which handles communication between the HTML page and the X2Go HTML client; + - ''x2gohtmlclient.js'', which handles communication between the X2Go RPC script and the X2Go HTML client; and + - ''x2gokdrivehtmlclient.js'', which implements the X2Go KDrive client. = 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. -- This mail was generated by DokuWiki at https://wiki.x2go.org/ ___ x2go-commits mailing list x2go-commits@lists.x2go.org https://lists.x2go.org/listinfo/x2go-commits
[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:advanced:x2gohtmlclient
A page in your DokuWiki was added or changed. Here are the details: Browser : Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0 IP Address : 137.26.240.242 Hostname: 137-026-240-242.biz.spectrum.com Old Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient?rev=1640985763 New Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient Date of New Revision: 2021/12/31 21:23 Edit Summary: Fix whitespace User: mikep There may be newer changes after this revision. If this happens, a message will be shown on the top of the rev page. @@ -21,9 +21,11 @@ * the desktop environment to start, * whether to use an SSH proxy, * an optional proxy username, and * an optional proxy password. + {{:wiki:advanced:client.png?400|}} + ''index.html'' can be edited to set a default server and so on. The file ''x2gokdriveclient.html'' allows for running the X2Go client in a separate window. The x2gohtmlclient package also provides CSS, images, and three JavaScript classes: -- This mail was generated by DokuWiki at https://wiki.x2go.org/ ___ x2go-commits mailing list x2go-commits@lists.x2go.org https://lists.x2go.org/listinfo/x2go-commits
[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:advanced:x2gohtmlclient
A page in your DokuWiki was added or changed. Here are the details: Browser : Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0 IP Address : 137.26.240.242 Hostname: 137-026-240-242.biz.spectrum.com Old Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient?rev=1640985609 New Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient Date of New Revision: 2021/12/31 21:22 Edit Summary: Move form screenshot User: mikep There may be newer changes after this revision. If this happens, a message will be shown on the top of the rev page. @@ -12,10 +12,8 @@ == Components == = x2gohtmlclient = - - {{:wiki:advanced:client.png?400|}} Contains the JavaScript and other assets that are served to a browser. The main page is ''index.html'', and it provides two modes: a native client and an embedded client. The native client requires that a recent version of the X2Go client exists on the same computer as the browser. The embedded client provides the HTML5-based functionality. In any case, ''index.html'' prompts the user for: * the X2Go server address, * a username, @@ -23,8 +21,9 @@ * the desktop environment to start, * whether to use an SSH proxy, * an optional proxy username, and * an optional proxy password. + {{:wiki:advanced:client.png?400|}} ''index.html'' can be edited to set a default server and so on. The file ''x2gokdriveclient.html'' allows for running the X2Go client in a separate window. The x2gohtmlclient package also provides CSS, images, and three JavaScript classes: -- This mail was generated by DokuWiki at https://wiki.x2go.org/ ___ x2go-commits mailing list x2go-commits@lists.x2go.org https://lists.x2go.org/listinfo/x2go-commits
[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:advanced:x2gohtmlclient
A page in your DokuWiki was added or changed. Here are the details: Browser : Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0 IP Address : 137.26.240.242 Hostname: 137-026-240-242.biz.spectrum.com Old Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient?rev=1640984137 New Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient Date of New Revision: 2021/12/31 21:20 Edit Summary: Revise components section User: mikep There may be newer changes after this revision. If this happens, a message will be shown on the top of the rev page. @@ -7,69 +7,39 @@ * the CGI, JSON, Encode, Expect, and File::Touch Perl modules, and * python-websockify. X2Go provides instructions for configuring the NGINX web server, but you can substitute another server if you prefer. Your operating system distribution likely provides packages containing the dependencies not provided by X2Go. - {{:wiki:advanced:client.png?400|}} {{:wiki:advanced:kdr.png?400|}} == Components == - = X2GoHTMLClient = + = x2gohtmlclient = - index.html - - Client HTML page. This page can be modified or embedded in existing webpage. It has two modes: native client and embedded client. User can use native client if recent version of X2Go client is installed on the system. In this case, the page will generate x2go session file, which will be automatically opened with x2go client. Second mode is to use embedded HTML Client (only supports X2GoKdrive). The HTML page provides user input for the next settings: - - X2Go Server address - Username - Password - Command to execute (KDE, GNOME, ICEWM, etc) - SSH Proxy (if not specified no proxy will be used) - Proxy login - Proxy password - - The HTML page can be modified to predefine one or more of this settings. Important functions inside of this page should be defined: - function getServer() - function getUname() - function getPass() - function getCommand() - function getName() - function getProxy() - function getProxyUser() - function getProxyPass() - - - x2gokdriveclient.html - - The HTML Page to run X2Go client in separate window. By default the session's window is embedded in the start page. User can "detach" the session to separate window using "new window" button. After that session will be shown in the separate window and can be resized, opened in full screen, etc. - - CSS/x2gostyle.css - - WEB styles for HTML pages - - SRC/*png SRC/*svg - - Image resources - - SRC/x2godomcontroller.js - - Communication between HTML page and X2Go HTML Client - - SRC/x2gohtmlclient.js - - Communication between X2Go RPC script and X2Go HTML Client + {{:wiki:advanced:client.png?400|}} - SRC/x2gokdrivehtmlclient.js + Contains the JavaScript and other assets that are served to a browser. The main page is ''index.html'', and it provides two modes: a native client and an embedded client. The native client requires that a recent version of the X2Go client exists on the same computer as the browser. The embedded client provides the HTML5-based functionality. In any case, ''index.html'' prompts the user for: + * the X2Go server address, + * a username, + * a password, + * the desktop environment to start, + * whether to use an SSH proxy, + * an optional proxy username, and + * an optional proxy password. + ''index.html'' can be edited to set a default server and so on. + The file ''x2gokdriveclient.html'' allows for running the X2Go client in a separate window. - X2GoKdrive JS client + 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; + 2. ''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. - = x2gorpc.cgi = + = x2gowebrpc = - CGI script for communication between HTML Client and X2Go server. It connects to X2Go server using ssh, starts/resuming sessions, opens SSH tunnels, etc + 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. = x2gowswrapper = - The application that is connecting TCP sockets of X2GoKdrive agent with web sockets for HTML Client. + The x2gowswrapper program connects the TCP sockets of the X2Go KDrive agent with WebSockets created by the browser. == Configuring the Web Server == We describe how to configure NGINX and fcgiwrap, but you can substitute any web server that provides the needed features. -- This mail was generated by DokuWiki at
[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:advanced:x2gohtmlclient
A page in your DokuWiki was added or changed. Here are the details: Browser : Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0 IP Address : 137.26.240.242 Hostname: 137-026-240-242.biz.spectrum.com Old Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient?rev=1640984107 New Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient Date of New Revision: 2021/12/31 20:55 Edit Summary: [x2gohtmlclient] User: mikep There may be newer changes after this revision. If this happens, a message will be shown on the top of the rev page. @@ -128,9 +128,9 @@ Run ''./minify.sh'' to combine x2gohtmlclient's JavaScript classes and remove the whitespace from the result. The output will be ''dist/x2gokdriveclient.min.js'', and you should copy this file to ''$WEBROOT/assets/js/''. - The other assets should be installed as follows: + The other assets should be installed as follows. Create the parent directories as required. * Place ''index.html'' in ''$WEBROOT/''. * Place ''css/*'' in ''$WEBROOT/assets/css/''. * Place ''img/*/*/*'' in ''$WEBROOT/assets/img/''. -- This mail was generated by DokuWiki at https://wiki.x2go.org/ ___ x2go-commits mailing list x2go-commits@lists.x2go.org https://lists.x2go.org/listinfo/x2go-commits
[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:advanced:x2gohtmlclient
A page in your DokuWiki was added or changed. Here are the details: Browser : Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0 IP Address : 137.26.240.242 Hostname: 137-026-240-242.biz.spectrum.com Old Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient?rev=1640984023 New Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient Date of New Revision: 2021/12/31 20:55 Edit Summary: Fix placement of index.html User: mikep There may be newer changes after this revision. If this happens, a message will be shown on the top of the rev page. @@ -129,9 +129,9 @@ Run ''./minify.sh'' to combine x2gohtmlclient's JavaScript classes and remove the whitespace from the result. The output will be ''dist/x2gokdriveclient.min.js'', and you should copy this file to ''$WEBROOT/assets/js/''. The other assets should be installed as follows: - * Place ''index.html'' in ''$WEBROOT/assets/css/''. + * Place ''index.html'' in ''$WEBROOT/''. * Place ''css/*'' in ''$WEBROOT/assets/css/''. * Place ''img/*/*/*'' in ''$WEBROOT/assets/img/''. = x2gowebrpc = -- This mail was generated by DokuWiki at https://wiki.x2go.org/ ___ x2go-commits mailing list x2go-commits@lists.x2go.org https://lists.x2go.org/listinfo/x2go-commits
[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:advanced:x2gohtmlclient
A page in your DokuWiki was added or changed. Here are the details: Browser : Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0 IP Address : 137.26.240.242 Hostname: 137-026-240-242.biz.spectrum.com Old Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient?rev=1640983752 New Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient Date of New Revision: 2021/12/31 20:53 Edit Summary: Mark up file names and such User: mikep There may be newer changes after this revision. If this happens, a message will be shown on the top of the rev page. @@ -78,10 +78,10 @@ server { listen 443 ssl; server_name your_host; - ssl_certificate ; - ssl_certificate_key ; + ssl_certificate "/etc/pki/nginx/server.crt"; + ssl_certificate_key "/etc/pki/nginx/private/server.key"; ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384; ssl_protocols TLSv1.2; ssl_prefer_server_ciphers off; ssl_session_timeout 5m; @@ -125,36 +125,36 @@ == Building and Installing == = x2gohtmlclient = - Run ./minify.sh to combine x2gohtmlclient's JavaScript classes and remove the whitespace from the result. - The output will be dist/x2gokdriveclient.min.js, and you should copy this file to $WEBROOT/assets/js/. + Run ''./minify.sh'' to combine x2gohtmlclient's JavaScript classes and remove the whitespace from the result. + The output will be ''dist/x2gokdriveclient.min.js'', and you should copy this file to ''$WEBROOT/assets/js/''. The other assets should be installed as follows: - * Place index.html in $WEBROOT/assets/css/. - * Place css/* in $WEBROOT/assets/css/. - * Place img/*/*/* in $WEBROOT/assets/img/. + * Place ''index.html'' in ''$WEBROOT/assets/css/''. + * Place ''css/*'' in ''$WEBROOT/assets/css/''. + * Place ''img/*/*/*'' in ''$WEBROOT/assets/img/''. = x2gowebrpc = - Copy x2gorpc.cgi to $WEBROOT/assets/rpc/. + Copy ''x2gorpc.cgi'' to ''$WEBROOT/assets/rpc/''. = x2gowswrapper = Build x2gowswrapper using qmake: $ qmake-qt5 && make - Install the resulting program named x2gowswrapper to /usr/sbin/. + Install the resulting program named x2gowswrapper to ''/usr/sbin/''. - Create the directory /var/log/x2gows, and ensure the web server's user can create and modify files therein. + Create the directory ''/var/log/x2gows'', and ensure the web server's user can create and modify files therein. - Create the file named /etc/x2go/x2gows/x2gows.options which contains the following: + Create the file named ''/etc/x2go/x2gows/x2gows.options'' that contains the following: ws_proto=wss ssl_cert=/etc/pki/nginx/server.crt ssl_key=/etc/pki/nginx/private/server.key ssl_only=true log_dir=/var/log/x2gows - Ensure the values of ssl_cert and ssl_key match NGINX's similar values, + 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. -- This mail was generated by DokuWiki at https://wiki.x2go.org/ ___ x2go-commits mailing list x2go-commits@lists.x2go.org https://lists.x2go.org/listinfo/x2go-commits
[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:advanced:x2gohtmlclient
A page in your DokuWiki was added or changed. Here are the details: Browser : Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0 IP Address : 137.26.240.242 Hostname: 137-026-240-242.biz.spectrum.com Old Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient?rev=1640979011 New Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient Date of New Revision: 2021/12/31 20:49 Edit Summary: Revise instructions after working through real install User: mikep There may be newer changes after this revision. If this happens, a message will be shown on the top of the rev page. @@ -1,5 +1,4 @@ - == Introduction == X2Go's HTML client makes use of HTML5, JavaScript, and WebSockets to provide graphical access to a remote host with no client-side requirements other than a modern browser. The x2gohtmlclient package, served by a web server, provides the JavaScript front-end. X2gohtmlclient works with the x2gowebrpc and x2gowswrapper packages, which run on the server. Aside from the aforementioned X2Go packages, the server-side requirements include * a web server, @@ -7,14 +6,18 @@ * Qt 5 and Qt 5 X11 Extras, * the CGI, JSON, Encode, Expect, and File::Touch Perl modules, and * python-websockify. X2Go provides instructions for configuring the NGINX web server, but you can substitute another server if you prefer. Your operating system distribution likely provides packages containing the dependencies not provided by X2Go. + + {{:wiki:advanced:client.png?400|}} + {{:wiki:advanced:kdr.png?400|}} == Components == = X2GoHTMLClient = index.html + Client HTML page. This page can be modified or embedded in existing webpage. It has two modes: native client and embedded client. User can use native client if recent version of X2Go client is installed on the system. In this case, the page will generate x2go session file, which will be automatically opened with x2go client. Second mode is to use embedded HTML Client (only supports X2GoKdrive). The HTML page provides user input for the next settings: X2Go Server address Username @@ -33,47 +36,44 @@ function getProxy() function getProxyUser() function getProxyPass() + x2gokdriveclient.html + The HTML Page to run X2Go client in separate window. By default the session's window is embedded in the start page. User can "detach" the session to separate window using "new window" button. After that session will be shown in the separate window and can be resized, opened in full screen, etc. CSS/x2gostyle.css + WEB styles for HTML pages SRC/*png SRC/*svg + Image resources SRC/x2godomcontroller.js + Communication between HTML page and X2Go HTML Client + SRC/x2gohtmlclient.js + Communication between X2Go RPC script and X2Go HTML Client + SRC/x2gokdrivehtmlclient.js + X2GoKdrive JS client = x2gorpc.cgi = + CGI script for communication between HTML Client and X2Go server. It connects to X2Go server using ssh, starts/resuming sessions, opens SSH tunnels, etc = x2gowswrapper = - The application which is connecting TCP sockets of X2GoKdrive agent with web sockets for HTML Client. + The application that is connecting TCP sockets of X2GoKdrive agent with web sockets for HTML Client. - == Building == + == Configuring the Web Server == - == JS classes == - JS classes should be compiled in one using script minify.sh. The resulting file x2goclient.js will be placed in subdir "dist" - - == x2gowswrapper == - Build using qmake - - $qmake-qt5 && make - - - == Installation == - - Prerequements: Web Browser with support for CGI and Web sockets (for example nginx). - - Example of nginx configuration (in this case with fcgiwrap https://www.nginx.com/resources/wiki/start/topics/examples/fcgiwrap/) + We describe how to configure NGINX and fcgiwrap, but you can substitute any web server that provides the needed features. ''/etc/nginx/sites-available/-ssl:'' server { @@ -121,55 +121,40 @@ } } - X2Go HTML client files: - - /assets/x2go-plugin/ - CSS/x2gostyle.css - IMG/*.png - IMG/x2gobg.svg - JS/x2goclient.js - RPC/x2gorpc.cgi - index.html - x2gokdriveclient.html + == Building and Installing == - + = x2gohtmlclient = - This location can be changed, in this case the changes should be also done in the WEB Server configuration file and in index.html file: - - var RPC_path="/assets/x2go-plugin/RPC/x2gorpc.cgi"; - var asset_path="/assets/x2go-plugin/IMG/";
[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:advanced:x2gohtmlclient
A page in your DokuWiki was added or changed. Here are the details: Browser : Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0 IP Address : 137.26.240.242 Hostname: 137-026-240-242.biz.spectrum.com Old Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient?rev=1640978417 New Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient Date of New Revision: 2021/12/31 19:30 Edit Summary: Fix indentation of NGINX configuration User: mikep There may be newer changes after this revision. If this happens, a message will be shown on the top of the rev page. @@ -98,27 +98,27 @@ add_header X-Content-Type-Options "nosniff"; add_header X-Frame-Options "SAMEORIGIN"; } - location ~* \.(pl|cgi)$ { - gzip off; - include /etc/nginx/fastcgi_params; - fastcgi_pass unix:/var/run/fcgiwrap.socket; + location ~* \.(pl|cgi)$ { + gzip off; + include /etc/nginx/fastcgi_params; + fastcgi_pass unix:/var/run/fcgiwrap.socket; } - location ~ ^/x2gows/(.*)$ { - proxy_pass https://127.0.0.1:$1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; - proxy_http_version 1.1; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header Host $http_host; - proxy_intercept_errors on; - proxy_redirect off; - proxy_cache_bypass $http_upgrade; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-NginX-Proxy true; - proxy_ssl_session_reuse off; + location ~ ^/x2gows/(.*)$ { + proxy_pass https://127.0.0.1:$1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + proxy_http_version 1.1; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header Host $http_host; + proxy_intercept_errors on; + proxy_redirect off; + proxy_cache_bypass $http_upgrade; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-NginX-Proxy true; + proxy_ssl_session_reuse off; } } -- This mail was generated by DokuWiki at https://wiki.x2go.org/ ___ x2go-commits mailing list x2go-commits@lists.x2go.org https://lists.x2go.org/listinfo/x2go-commits
[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:advanced:x2gohtmlclient
A page in your DokuWiki was added or changed. Here are the details: Browser : Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0 IP Address : 137.26.240.242 Hostname: 137-026-240-242.biz.spectrum.com Old Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient?rev=1640976897 New Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient Date of New Revision: 2021/12/31 19:20 Edit Summary: Fix syntax error in NGINX configuration User: mikep There may be newer changes after this revision. If this happens, a message will be shown on the top of the rev page. @@ -91,9 +91,9 @@ proxy_read_timeout 300; location /assets/ { add_header Strict-Transport-Security "max-age=31536000"; - add_header Content-Security-Policy "default-src 'self' 'unsafe-inline' data: blob: ws: wss:; script-src 'self' 'unsafe-inline' + add_header Content-Security-Policy "default-src 'self' 'unsafe-inline' data: blob: ws: wss:; script-src 'self' 'unsafe-inline'"; add_header Feature-Policy "vibrate 'none' ; microphone 'none' ; camera 'none' ; gyroscope 'none' ; magnetometer 'none' ; geolocation 'none' ; midi 'self' ; notifications 'self' ; push 'self' ; sync-xhr 'self'"; add_header Referrer-Policy "same-origin"; add_header X-Content-Type-Options "nosniff"; add_header X-Frame-Options "SAMEORIGIN"; -- This mail was generated by DokuWiki at https://wiki.x2go.org/ ___ x2go-commits mailing list x2go-commits@lists.x2go.org https://lists.x2go.org/listinfo/x2go-commits
[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:advanced:x2gohtmlclient
A page in your DokuWiki was added or changed. Here are the details: Browser : Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0 IP Address : 137.26.240.242 Hostname: 137-026-240-242.biz.spectrum.com Old Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient?rev=1640976824 New Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient Date of New Revision: 2021/12/31 18:54 Edit Summary: old revision restored (2021/12/31 18:36) User: mikep There may be newer changes after this revision. If this happens, a message will be shown on the top of the rev page. @@ -49,9 +49,9 @@ Communication between X2Go RPC script and X2Go HTML Client SRC/x2gokdrivehtmlclient.js X2GoKdrive JS client - = x2gowebrpc.cgi = + = x2gorpc.cgi = CGI script for communication between HTML Client and X2Go server. It connects to X2Go server using ssh, starts/resuming sessions, opens SSH tunnels, etc = x2gowswrapper = The application which is connecting TCP sockets of X2GoKdrive agent with web sockets for HTML Client. @@ -128,20 +128,20 @@ CSS/x2gostyle.css IMG/*.png IMG/x2gobg.svg JS/x2goclient.js - RPC/x2gowebrpc.cgi + RPC/x2gorpc.cgi index.html x2gokdriveclient.html This location can be changed, in this case the changes should be also done in the WEB Server configuration file and in index.html file: - var RPC_path="/assets/x2go-plugin/RPC/x2gowebrpc.cgi"; + var RPC_path="/assets/x2go-plugin/RPC/x2gorpc.cgi"; var asset_path="/assets/x2go-plugin/IMG/"; - x2gowebrpc.cgi should be executable + x2gorpc.cgi should be executable install x2gowswrapper to /usr/bin x2gowswarpper configuration: -- This mail was generated by DokuWiki at https://wiki.x2go.org/ ___ x2go-commits mailing list x2go-commits@lists.x2go.org https://lists.x2go.org/listinfo/x2go-commits
[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:advanced:x2gohtmlclient
A page in your DokuWiki was added or changed. Here are the details: Browser : Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0 IP Address : 137.26.240.242 Hostname: 137-026-240-242.biz.spectrum.com Old Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient?rev=1640975777 New Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient Date of New Revision: 2021/12/31 18:53 Edit Summary: Rename x2gorpc to x2gowebrpc User: mikep There may be newer changes after this revision. If this happens, a message will be shown on the top of the rev page. @@ -49,9 +49,9 @@ Communication between X2Go RPC script and X2Go HTML Client SRC/x2gokdrivehtmlclient.js X2GoKdrive JS client - = x2gorpc.cgi = + = x2gowebrpc.cgi = CGI script for communication between HTML Client and X2Go server. It connects to X2Go server using ssh, starts/resuming sessions, opens SSH tunnels, etc = x2gowswrapper = The application which is connecting TCP sockets of X2GoKdrive agent with web sockets for HTML Client. @@ -128,20 +128,20 @@ CSS/x2gostyle.css IMG/*.png IMG/x2gobg.svg JS/x2goclient.js - RPC/x2gorpc.cgi + RPC/x2gowebrpc.cgi index.html x2gokdriveclient.html This location can be changed, in this case the changes should be also done in the WEB Server configuration file and in index.html file: - var RPC_path="/assets/x2go-plugin/RPC/x2gorpc.cgi"; + var RPC_path="/assets/x2go-plugin/RPC/x2gowebrpc.cgi"; var asset_path="/assets/x2go-plugin/IMG/"; - x2gorpc.cgi should be executable + x2gowebrpc.cgi should be executable install x2gowswrapper to /usr/bin x2gowswarpper configuration: -- This mail was generated by DokuWiki at https://wiki.x2go.org/ ___ x2go-commits mailing list x2go-commits@lists.x2go.org https://lists.x2go.org/listinfo/x2go-commits
[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:advanced:x2gohtmlclient
A page in your DokuWiki was added or changed. Here are the details: Browser : Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0 IP Address : 137.26.240.242 Hostname: 137-026-240-242.biz.spectrum.com Old Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient?rev=1640975717 New Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient Date of New Revision: 2021/12/31 18:36 Edit Summary: Rewrite alternate web server sentence User: mikep There may be newer changes after this revision. If this happens, a message will be shown on the top of the rev page. @@ -6,9 +6,9 @@ * minify, * Qt 5 and Qt 5 X11 Extras, * the CGI, JSON, Encode, Expect, and File::Touch Perl modules, and * python-websockify. - X2Go provides instructions for configuring the NGINX web server, but users can substitute other servers if they prefer. Your operating system distribution likely provides packages containing the dependencies not provided by X2Go. + X2Go provides instructions for configuring the NGINX web server, but you can substitute another server if you prefer. Your operating system distribution likely provides packages containing the dependencies not provided by X2Go. == Components == = X2GoHTMLClient = -- This mail was generated by DokuWiki at https://wiki.x2go.org/ ___ x2go-commits mailing list x2go-commits@lists.x2go.org https://lists.x2go.org/listinfo/x2go-commits
[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:advanced:x2gohtmlclient
A page in your DokuWiki was added or changed. Here are the details: Browser : Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0 IP Address : 137.26.240.242 Hostname: 137-026-240-242.biz.spectrum.com Old Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient?rev=1640905593 New Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient Date of New Revision: 2021/12/31 18:35 Edit Summary: Write introduction User: mikep There may be newer changes after this revision. If this happens, a message will be shown on the top of the rev page. @@ -1,6 +1,16 @@ - == HTML Plugin components == + == Introduction == + + X2Go's HTML client makes use of HTML5, JavaScript, and WebSockets to provide graphical access to a remote host with no client-side requirements other than a modern browser. The x2gohtmlclient package, served by a web server, provides the JavaScript front-end. X2gohtmlclient works with the x2gowebrpc and x2gowswrapper packages, which run on the server. Aside from the aforementioned X2Go packages, the server-side requirements include + * a web server, + * minify, + * Qt 5 and Qt 5 X11 Extras, + * the CGI, JSON, Encode, Expect, and File::Touch Perl modules, and + * python-websockify. + X2Go provides instructions for configuring the NGINX web server, but users can substitute other servers if they prefer. Your operating system distribution likely provides packages containing the dependencies not provided by X2Go. + + == Components == = X2GoHTMLClient = index.html @@ -46,9 +56,9 @@ = x2gowswrapper = The application which is connecting TCP sockets of X2GoKdrive agent with web sockets for HTML Client. - == Building of the HTML Client components == + == Building == == JS classes == JS classes should be compiled in one using script minify.sh. The resulting file x2goclient.js will be placed in subdir "dist" @@ -56,17 +66,8 @@ Build using qmake $qmake-qt5 && make - - == Dependencies == - - = x2gohtmlclient = - To compile JS scripts "minify" should be installed - = x2gowebrpc = - PERL modules: CGI, JSON, Encode, Expect, File::Touch - = x2gowswrapper = - QT5-Core, python-websockify(later it's functionality will be included in x2gowswrapper) == Installation == Prerequements: Web Browser with support for CGI and Web sockets (for example nginx). -- This mail was generated by DokuWiki at https://wiki.x2go.org/ ___ x2go-commits mailing list x2go-commits@lists.x2go.org https://lists.x2go.org/listinfo/x2go-commits
[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:advanced:x2gohtmlclient
A page in your DokuWiki was added or changed. Here are the details: Browser : Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0 IP Address : 46.223.147.61 Hostname: HSI-KBW-46-223-147-61.hsi.kabel-badenwuerttemberg.de Old Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient?rev=1619037743 New Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient Date of New Revision: 2021/12/30 23:06 Edit Summary: Suggested changes from "W. Michael Petullo" on x2go-dev ml User: gratuxri There may be newer changes after this revision. If this happens, a message will be shown on the top of the rev page. @@ -51,9 +51,9 @@ == JS classes == JS classes should be compiled in one using script minify.sh. The resulting file x2goclient.js will be placed in subdir "dist" - == x2gowsrapper == + == x2gowswrapper == Build using qmake $qmake-qt5 && make @@ -140,9 +140,9 @@ var asset_path="/assets/x2go-plugin/IMG/"; x2gorpc.cgi should be executable - install x2gowsrapper to /usr/bin + install x2gowswrapper to /usr/bin x2gowswarpper configuration: /etc/x2go/x2gows/x2gows.options -- This mail was generated by DokuWiki at https://wiki.x2go.org/ ___ x2go-commits mailing list x2go-commits@lists.x2go.org https://lists.x2go.org/listinfo/x2go-commits
[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:advanced:x2gohtmlclient
A page in your DokuWiki was added or changed. Here are the details: Date: 2021/04/21 20:42 Browser : Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36 IP-Address : 189.217.209.86 Hostname: customer-189-217-209-86.cablevision.net.mx Old Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient?rev=1619037617 New Revision: https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient Edit Summary: User: ncryer @@ -1,6 +1,4 @@ - - == HTML Plugin components == = X2GoHTMLClient = -- This mail was generated by DokuWiki at https://wiki.x2go.org/ ___ x2go-commits mailing list x2go-commits@lists.x2go.org https://lists.x2go.org/listinfo/x2go-commits