User Tools

Site Tools


wiki:components:x2goplugin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
wiki:components:x2goplugin [2011/11/14 18:58]
h1
wiki:components:x2goplugin [2012/07/05 11:18]
ncryer [create a properties file]
Line 27: Line 27:
 This is a short tutorial how to integrate the x2go plugin into a website.  This is a short tutorial how to integrate the x2go plugin into a website. 
  
-==== create a properties file ==== 
- 
-First of all you'll need a properties file. This file should be stored accessible by the website, for example inside the same directory. You can choose a name by yourself, but in this tutorial the file will be called x2go.server. Please us a suitable file editor (re vi, nano, gedit) for editing: 
- 
-<code> 
-session=mysessionname 
-server=myserver.org 
-user=myusername 
-sshport=22 
-command=KDE 
-rootless=false 
-sound=false 
-exportfs=false 
-speed=adsl 
-compression=16m-jpeg 
-quality=9 
-dpi=120 
-kbdlayout=de 
-kbdtype=pc105/de 
-showtoolbar=false 
-showstatusbar=false 
-</code> 
- 
-You can change the the value "session" to whatever you like - it is just the name of the session.  
- 
-The value "server" should be the hostname or the IP-address of the x2goserver which should be contacted by the plugin as your target "desktop server" 
- 
-The value "user" can be left blank, otherwise this "username" will be used as login for the x2go session and the user will not be able to change that login ID.  
- 
-The value "sshport" should be set to 22 - you should only change this if you've previously changed the SSH port number in the /etc/ssh/sshd_config file on the x2goserver.  
- 
-You can choose the used Desktop Environment or application by changing the value "command".   
-  * If you specify "KDE" or "GNOME" then x2go will present you __with__ an entire remote desktop. 
-  * If you specify any application (such as: firefox) which is executable by the user then only that application will appear __without__ the entire remote desktop.  
- 
-The value "rootless" should be set to false for use with a whole Desktop Environments and Window Manager.  
-If you plan to use single applications you can use this feature to use the local running window manager. 
  
 ==== building a minimal website ==== ==== building a minimal website ====