A page in your DokuWiki was added or changed. Here are the details: Date : 2013/03/30 00:16 Browser : Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.22 (KHTML, like Gecko) Ubuntu Chromium/25.0.1364.160 Chrome/25.0.1364.160 Safari/537.22 IP-Address : 88.74.154.2 Hostname : dslb-088-074-154-002.pools.arcor-ip.net Old Revision: http://wiki.x2go.org/doku.php/wiki:advanced:x2goplugin?rev=1363365781 New Revision: http://wiki.x2go.org/doku.php/wiki:advanced:x2goplugin Edit Summary: User : tobias @@ -1,5 +1,120 @@ ====== X2Go Browser Plugin ====== + + Using the packages x2goplugin on the client and x2goplugin-provider on the server offers X2Go's functionality within various Browsers, such as Firefox, Chrome, Konqueror and Epiphany. This happens by providing a special website via a webserver, for example apache. The X2GoPlugin receives its configuration via this website. + + **Prerequirements:** + We assume that the appropriate package mirrors for Debian GNU/Linux or Ubuntu have already been configured. Please see [[doc:installation:x2goserver|X2Go Server Installation]] for further information. + + ===== Client ====== + + ==== Installation Debian GNU/Linux ==== + <code> + apt-get install x2goplugin + </code> + + ==== Installation Ubuntu ==== + <code> + apt-get install x2goplugin + </code> + + Damit ist die Installation am Client abgeschlossen, das X2GoPlugin steht nach einem Neustart via Browser zur Verfügung. + + ====== Server ====== + ==== Installation Debian GNU/Linux ==== + <code> + apt-get install apache2 x2goplugin-provider + </code> + + ==== Installation Ubuntu ==== + <code> + apt-get install apache2 x2goplugin-provider + </code> + + This installs the necessary files and dependencies. The plugin is instantly usable on the server via localhost/x2goplugin.html. Using it on the server is not the desired scenario, so we need to change the configuration. The file x2goplugin.html lies at /usr/share/x2go/plugin/. + It is recommended to create a backup of the original file before modifying it. + + <code> + cp /usr/share/x2go/plugin/x2goplugin.html /usr/share/x2go/plugin/x2goplugin.html.orig + </code> + + The file's content can then be modified to reflect your own requirements. At a minimum you should substitute "server=localhost" with your server's public IP / hostname. After that you can access X2Go via your browser: + + http://<your-server's-IP-or-hostname>/x2goplugin.html + + This is the original content of the file: + + <code> + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> + <html> + <head> + <title>X2Go Application Service</title> + </head> + <body onload="checkPlugin()"> + <div id="x2goplugin"> + <object + src="location" + type="application/x2go" + name="x2goplugin" + palette="background" + height="100%" + hspace="0" + vspace="0" + width="100%" + x2goconfig=" + session=X2Go-Demo-Session + server=localhost + user= + sshport=22 + command=XFCE + rootless=false + sound=true + exportfs=true + speed=adsl + compression=16m-jpeg + quality=9 + dpi=120 + kbdlayout= + kbdtype=auto + showtoolbar=true + showstatusbar=true + usekbd=true + soundsystem=pulse + soundtunnel=true + defsndport=true + print=true + rootless=false + published=false + applications=WWWBROWSER, MAILCLIENT, OFFICE, TERMINAL + "> + </object> + + </div> + </body> + </html> + </code> + You can certainly also move the file x2goplugin.html into /var/www. Then it is recommended to remove the link x2goplugin.conf within /etc/apache2/conf.d, which is just a link to /etc/x2goplugin-apache.conf. + + <code> + ls -al /etc/apache2/conf.d/x2goplugin.conf + lrwxrwxrwx 1 root root 33 Mär 22 23:42 /etc/apache2/conf.d/x2goplugin.conf -> ../../x2go/x2goplugin-apache.conf + root@x2goserver:/etc/apache2/conf.d + </code> + + This file contains the alias which defines an alias for the url http://<your-server's-IP-or-hostname>/x2goplugin.html. (The URL http://<your-server's-IP-or-hostname> still delivers the expected file /var/www/index.html.) + + cat /etc/x2go/x2goplugin-apache.conf + Alias /x2goplugin.html /usr/share/x2go/plugin/x2goplugin.html + + + + + + + + + + FIXME FIXME FIXME FIXME THE BELOW INFORMATION IS NOT UP-TO-DATE, IT HAS TO BE REWRITTEN!!!! -- This mail was generated by DokuWiki at http://wiki.x2go.org/