[X2Go-Commits] page changed: wiki:advanced:x2goplugin
wiki-admin at x2go.org
wiki-admin at x2go.org
Sat Mar 30 16:57:28 CET 2013
A page in your DokuWiki was added or changed. Here are the details:
Date : 2013/03/30 15:57
Browser : Mozilla/5.0 (Windows NT 5.1; rv:19.0) Gecko/20100101 Firefox/19.0
IP-Address : 88.217.108.174
Hostname : ppp-88-217-108-174.dynamic.mnet-online.de
Old Revision: http://wiki.x2go.org/doku.php/wiki:advanced:x2goplugin?rev=1364624817
New Revision: http://wiki.x2go.org/doku.php/wiki:advanced:x2goplugin
Edit Summary: Higlighting and stuff
User : morty
@@ -1,11 +1,5 @@
====== X2Go Browser Plugin ======
-
- FIXME FIXME FIXME FIXME
-
- Needs correct formating of html page contents.
-
- FIXME FIXME FIXME FIXME
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:**
@@
-16,54 +10,48 @@
===== Client ======
- ==== Installation Debian GNU/Linux ====
- <code>
- apt-get install x2goplugin
- </code>
-
- ==== Installation Ubuntu ====
- <code>
+ ==== Installation Ubuntu and Debian GNU/Linux ====
+ <code bash>
apt-get install x2goplugin
</code>
+ After restarting the browser, the plugin is ready to use.
==== Installation Windows ====
- not yet available.
+ Please help us improve the wiki and write installation instructions.
==== Installation OSX ====
- Not yet available.
+ Please help us improve the wiki and write installation instructions.
- This finishes installing X2GoPlugin for the client. After restarting the browser it is ready to use.
- ====== Server ======
- ==== Installation Debian GNU/Linux ====
- <code>
- apt-get install apache2 x2goplugin-provider
- </code>
- ==== Installation Ubuntu ====
- <code>
+ ===== Server =====
+ ==== Installation Ubuntu / Debian GNU/Linux ====
+ <code bash>
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/.
+ 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>
+ ==== Quick Setup ====
+ If you want a quick setup, e.g. for testing, best make backup of ''/usr/share/x2go/plugin/x2goplugin.html''. The a bit more complicated, but robust way is described below.
+
+ <code bash>
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:
+ 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>''
+ <file html x2goplugin.html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>X2Go Application Service</title>
@@ -109,21 +97,24 @@
</div>
</body>
</html>
- ''</code>''
+ </file>
+
+ ==== Setup ====
+
+ 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''.
- 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>
+ <code bash>
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 at 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.)
+ 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''.)
- <code>
+ <code bash>
cat /etc/x2go/x2goplugin-apache.conf
Alias /x2goplugin.html /usr/share/x2go/plugin/x2goplugin.html
</code>
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/
More information about the x2go-commits
mailing list