This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
wiki:advanced:x2goplugin [2013/03/15 16:43] sunweaver [X2Go Browser Plugin] |
wiki:advanced:x2goplugin [2020/05/28 22:58] (current) danger89 |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | <note warning> | ||
| + | |||
| ====== X2Go Browser Plugin ====== | ====== X2Go Browser Plugin ====== | ||
| - | FIXME FIXME FIXME FIXME | + | For setting up the X2Go Browser Plugin, you have to set up a //client system//, a //web server// system and an //X2Go server//. Web server and X2Go Server can be on the same machine. In the passages below, we will refer to these three systems by the names //client//, //web server// and //X2Go Server//. |
| - | THE BELOW INFORMATION IS NOT UP-TO-DATE, IT HAS TO BE REWRITTEN!!!! | ||
| - | FIXME FIXME FIXME FIXME | + | {{: |
| + | {{: | ||
| - | [[download:x2goplugin|plugin example page]] | + | Using the packages '' |
| - | x2goplugin is a Firefox plugin. | + | This happens by providing |
| - | //On supported systems//, this plugin acts as a web portal which can be used to access an x2go session via Firefox web browser instead of using one of the x2goclients. | + | ===== Prerequirements ===== |
| - | ===== Installation | + | We assume that the appropriate package mirrors have already been configured. Please see [[doc: |
| - | Please visit the webssite http:// | ||
| - | Currently the x2goplugin is available for the following systems: | + | ===== Client ====== |
| - | * Linux 32 bit | + | |
| - | * Linux 64 bit | + | |
| - | * Windows 32 bit | + | |
| + | ==== Installation Ubuntu and Debian GNU/Linux ==== | ||
| + | <code bash> | ||
| + | apt-get install x2goplugin | ||
| + | </ | ||
| - | ===== Inserting x2goplugin into a webpage ===== | + | After restarting the browser, the plugin is ready to use. |
| - | This is a short tutorial how to integrate the x2go plugin into a website. | + | ==== Installation Windows ==== |
| + | The X2Go Browser Plugin for Windows is currently in development and will be released soon. Please help us improve the wiki and write installation instructions. | ||
| - | ==== building a minimal website ==== | ||
| - | You'll need a Website to carry the plugin. Please feel free to use your own Website code. This is just a example which should be used to get started: | ||
| - | < | + | ===== Server ===== |
| - | < | + | ==== Installation Ubuntu |
| - | <html> | + | <code bash> |
| - | < | + | apt-get install apache2 |
| - | < | + | |
| - | </ | + | |
| - | < | + | |
| - | <div id=" | + | |
| - | <--x2goplugin | + | |
| - | </ | + | |
| - | </ | + | |
| - | </ | + | |
| </ | </ | ||
| - | You can use either use a < | + | This installs |
| + | It is recommended | ||
| - | ==== inserting the < | + | ==== Quick Setup ==== |
| + | If you want a quick setup, e.g. for testing, best make backup of ''/ | ||
| - | Please paste the following code inside your website between the <div></div> command: | + | <code bash> |
| + | cp / | ||
| + | </code> | ||
| - | <code> | + | The file's content can then be modified to reflect your own requirements. At a minimum you should substitute '' |
| - | <object src="location" | + | |
| - | type="application/ | + | [[http://<your-server' |
| - | pluginspage="http:// | + | |
| - | pluginurl="http://plugin.x2go.org/ | + | This is the original content of the file: |
| - | name=" | + | |
| - | palette=" | + | <file html x2goplugin.html> |
| - | height=" | + | < |
| - | hspace=" | + | < |
| - | vspace=" | + | <head> |
| - | width=" | + | <title> |
| + | </ | ||
| + | <body onload="checkPlugin()"> | ||
| + | < | ||
| + | < | ||
| + | src="location" | ||
| + | type="application/ | ||
| + | name=" | ||
| + | palette=" | ||
| + | height=" | ||
| + | hspace=" | ||
| + | vspace=" | ||
| + | width=" | ||
| x2goconfig=" | x2goconfig=" | ||
| - | session=mysessionname | + | session=X2Go-Demo-Session |
| - | server=myserver.org | + | server=localhost |
| - | user=myusername | + | user= |
| sshport=22 | sshport=22 | ||
| - | command=KDE | + | command=XFCE |
| rootless=false | rootless=false | ||
| sound=true | sound=true | ||
| Line 76: | Line 85: | ||
| quality=9 | quality=9 | ||
| dpi=120 | dpi=120 | ||
| - | kbdlayout=de | + | kbdlayout= |
| - | kbdtype=pc105/de | + | kbdtype=auto |
| showtoolbar=true | showtoolbar=true | ||
| showstatusbar=true | showstatusbar=true | ||
| + | usekbd=true | ||
| + | soundsystem=pulse | ||
| + | soundtunnel=true | ||
| + | defsndport=true | ||
| + | print=true | ||
| + | rootless=false | ||
| + | published=false | ||
| + | applications=WWWBROWSER, | ||
| "> | "> | ||
| - | < | + | |
| - | | + | |
| - | </code> | + | |
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| - | You can change the the value " | + | ==== Setup ==== |
| - | The value " | + | You can certainly also move the file x2goplugin.html into ''/ |
| - | The value " | ||
| - | The value " | + | <code bash> |
| + | ls -al /etc/apache2/conf.d/ | ||
| + | lrwxrwxrwx 1 root root 33 Mär 22 23:42 / | ||
| + | root@x2goserver:/ | ||
| + | </ | ||
| - | You can choose | + | This file contains |
| - | * If you specify " | + | |
| - | * If you specify any application | + | |
| - | The value " | + | <code bash> |
| - | If you plan to use single applications you can use this feature to use the local running window manager. | + | cat /etc/x2go/x2goplugin-apache.conf |
| - | + | Alias / | |
| - | + | ||
| - | If you intend to utilize the automatic update service (recommended), | + | |
| - | + | ||
| - | + | ||
| - | The value " | + | |
| - | + | ||
| - | ==== checking if the plugin is already installed (and offering it if not) ==== | + | |
| - | + | ||
| - | If you are visiting the created website, you'll only get a x2goplugin | + | |
| - | + | ||
| - | Inside the website' | + | |
| - | + | ||
| - | You should use the plugin directly from our server to make sure that you'll get the latest version. The download url of the x2goplugin | + | |
| - | + | ||
| - | < | + | |
| - | < | + | |
| - | < | + | |
| - | <script src=" | + | |
| - | </ | + | |
| </ | </ | ||
| - | The javascript will need to be started, so you should add the the command " | ||
| - | |||
| - | < | ||
| - | <body onload=" | ||
| - | </ | ||
| - | |||
| - | ==== a complete website example ==== | ||
| - | |||
| - | Your whole Website should now look something like this (This site makes use of an already existing css file on our server. You can also use the <div id=" | ||
| - | |||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | <link rel=" | ||
| - | <script src=" | ||
| - | </ | ||
| - | <body onload=" | ||
| - | <div id=" | ||
| - | <object src=" | ||
| - | type=" | ||
| - | pluginspage=" | ||
| - | pluginurl=" | ||
| - | data=" | ||
| - | hidden=" | ||
| - | name=" | ||
| - | palette=" | ||
| - | height=" | ||
| - | hspace=" | ||
| - | vspace=" | ||
| - | width=" | ||
| - | < | ||
| - | </ | ||
| - | </ | ||
| - | <div id=" | ||
| - | < | ||
| - | < | ||
| - | plugin you'll be able to start or recover a session running on a x2goserver. | ||
| - | The server needs to be preconfigured. | ||
| - | To get more information about what x2go is, please visit <a href=" | ||
| - | </p> | ||
| - | </ | ||
| - | </ | ||
| - | </ | ||
| - | </ | ||