Very close to how we set it up as well.

One question I have is whether it is possible to setup the *.x2go files outside of the docroot.  Much more secure that way.

Gerry



Jun 28, 2010 02:42:35 PM, x2go-dev@lists.berlios.de wrote:
On Mon, 2010-06-28 at 20:31 +0200, Mike Gabriel wrote:
> Hi Paul,
>
> thank you for your reply.
>
> On Mo 28 Jun 2010 09:08:36 CEST Paul van der Vlis wrote:
>
> >> Main question is: how do i configure the sessions with the x2go plugin?
> >> I understood that there is a .css file and a javascript file managing
> >> the installation and upgrade of the xpi plugin code in firefox. However,
> >> I couldn't find any hints where the plugin retrieves its configuration
> >> from...
> >>
> >> Hints are very much appreciated as I would like to play with the plugin...
> >
> > I think you can use the html sourcecode of http://plugin.x2go.org
>
> I can't see any hints on configuring the x2go server session from
> within the html framework... There must be another answer...
>
> Mike
>
Here is how we did it.

We created our local web server and, in the root, we placed a file named
x2gobase.html with the following contents:






href="http://plugin.x2go.org/media/x2goplugin.css">





type="application/x2go"
pluginspage="http://plugin.x2go.org/index.html"

pluginurl="http://plugin.x2go.org/download/x2goplugin_linux32.xpi"
data="config.x2go"
hidden="false"
name="x2goplugin"
palette="background"
height="100%"
hspace="0"
vspace="0"
width="100%">




SimplicITy Plugin


This website will offer you a plugin named "x2goplugin" which
will enable you to start or reconnect to your SimplicITy desktop.

For more information about SimplicITy and other services to simplify
your office, please visit
href="http://www.pacifera.com">www.pacifera.com


For more information about X2Go, please visit
href="http://www.x2go.org">http://www.x2go.org
.






As you can see, this is just slightly customized to our needs - very
simple to adapt.

We then created subdirectories for each user. In each subdirectory, we
created a link to the x2gobase.html named index.html. In the same user
subdirectory, we created a file named config.x2go with contents similar
to the following:

session=SimplicITy (our utility office product name)
server=x2gohost.mycompany.com
user=
sshport=443(or whatever port the user is using)
command=KDE
rootless=false

It has worked well for us other than the few bugs we reported. Good
luck - John

_______________________________________________
X2go-dev mailing list
X2go-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/x2go-dev