This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wiki:development:sessions-file [2012/03/10 10:44] sunweaver [X2Go Sessions File Format Specification] |
wiki:development:sessions-file [2025/04/09 19:00] (current) slatian |
||
---|---|---|---|
Line 3: | Line 3: | ||
Default path name | Default path name | ||
- | * Linux, Mac OS X): $HOME/ | + | * Linux, Mac OS X: '' |
- | * Windows (non-portable mode): session profiles are stored in the Windows registry (HKEY_LOCAL_MACHINE\SOFTWARE\x2goclient) | + | * Windows |
- | * Windows (portable mode): session profiles are stored in a file (location???) | + | * Windows |
+ | * Windows PyHoca-GUI: session profiles are stored in the file ('' | ||
Related command line options: | Related command line options: | ||
Line 36: | Line 38: | ||
</ | </ | ||
- | ==== Session Options en Detail ==== | + | ===== Session Options en Detail |
- | //... in alphabetical | + | //... in topical |
- | ===== General Session Options | + | ==== General Session Options ==== |
^ Option name ^ Data Type ^ Default value X2Go Client ^ Default value Python X2Go ^ Comment ^ | ^ Option name ^ Data Type ^ Default value X2Go Client ^ Default value Python X2Go ^ Comment ^ | ||
- | | name | String | | | PyHoca-GUI feature: using ,,/" as a separator in the session name creates menus and submenus in the PyHoca-GUI applet | | + | | name | String | | | Session profile name as shown in the application. |
- | | icon | Filename | : | + | | icon | Filename | :/img/icons/ |
- | ====== Session Window Options | + | ==== Session Window Options ==== |
//... only available with Python X2Go / PyHoca // | //... only available with Python X2Go / PyHoca // | ||
Line 54: | Line 56: | ||
| sessiontitle | String | //not supported // | | Store a customized session window title in the session profile config | | | sessiontitle | String | //not supported // | | Store a customized session window title in the session profile config | | ||
- | ====== Connection Options | + | ==== Connection Options ==== |
^ Option name ^ Data Type ^ Default value X2Go Client ^ Default value Python X2Go ^ Comment ^ | ^ Option name ^ Data Type ^ Default value X2Go Client ^ Default value Python X2Go ^ Comment ^ | ||
| host | String | | | FQDN Hostname or IP Adress | | | host | String | | | FQDN Hostname or IP Adress | | ||
+ | | user | String | | | Username on X2Go Server | | ||
+ | | autologin | ||
+ | | forwardsshagent | ||
| key | Filename | | | Filename to SSH private key file | | | key | Filename | | | Filename to SSH private key file | | ||
| krblogin | | krblogin | ||
Line 64: | Line 69: | ||
| speed | [0..4] | 2 | 2 | 0=Modem, 1=ISDN, 2=ADSL, 3=WAN, 4=LAN | | | speed | [0..4] | 2 | 2 | 0=Modem, 1=ISDN, 2=ADSL, 3=WAN, 4=LAN | | ||
- | ====== SSH Proxy Options ====== | ||
- | //... only available with Python X2Go / PyHoca // | + | ==== SSH Proxy Options ==== |
^ Option name ^ Data Type ^ Default value X2Go Client ^ Default value Python X2Go ^ Comment ^ | ^ Option name ^ Data Type ^ Default value X2Go Client ^ Default value Python X2Go ^ Comment ^ | ||
- | | usesshproxy | Boolean | //not supported// | + | | usesshproxy | Boolean | false | false | Connect via a SSH proxy | |
- | | sshproxyhost | + | | sshproxytype |
- | | sshproxyuser | String | //not supported// | + | | sshproxyhost | String | |
- | | sshproxykeyfile | Filename | //not supported// | + | | sshproxyuser | String | | | Username for connecting to SSH proxy server | |
- | | sshproxytunnel | String | //not supported// | | + | | sshproxykeyfile | Filename | | | Filename of local SSH private key | |
+ | | sshproxytunnel | String | ||
+ | | sshproxyautologin | ||
+ | | sshproxysameuser | ||
+ | | sshproxysamepass | ||
- | ====== Display Options | + | ==== Display Options ==== |
^ Option name ^ Data Type ^ Default value X2Go Client ^ Default value Python X2Go ^ Comment ^ | ^ Option name ^ Data Type ^ Default value X2Go Client ^ Default value Python X2Go ^ Comment ^ | ||
Line 82: | Line 91: | ||
| dpi | Integer | 96 | 96 | Use the dpi value to manipulate the font size in a session | | | dpi | Integer | 96 | 96 | Use the dpi value to manipulate the font size in a session | | ||
| fullscreen | | fullscreen | ||
+ | | maxdim | ||
| multidisp | Boolean | false | //not supported// | | | | multidisp | Boolean | false | //not supported// | | | ||
| xinerama | | xinerama | ||
- | ====== Keyboard Options | + | ==== Keyboard Options ==== |
^ Option name ^ Data Type ^ Default value X2Go Client ^ Default value Python X2Go ^ Comment ^ | ^ Option name ^ Data Type ^ Default value X2Go Client ^ Default value Python X2Go ^ Comment ^ | ||
Line 92: | Line 102: | ||
| type | String | | type | String | ||
- | ===== Audio Options | + | ==== Audio Options ==== |
^ Option name ^ Data Type ^ Default value X2Go Client ^ Default value Python X2Go ^ Comment ^ | ^ Option name ^ Data Type ^ Default value X2Go Client ^ Default value Python X2Go ^ Comment ^ | ||
- | | sound=true | Boolean | + | | sound | Boolean |
| soundtunnel | Boolean | | soundtunnel | Boolean | ||
| defsndport | | defsndport | ||
Line 102: | Line 112: | ||
| startsoundsystem | Boolean | false | false | Start sound system' | | startsoundsystem | Boolean | false | false | Start sound system' | ||
- | ====== Local Folder Sharing / X2Go Printing | + | ==== Local Folder Sharing / X2Go Printing ==== |
^ Option name ^ Data Type ^ Default value X2Go Client ^ Default value Python X2Go ^ Comment ^ | ^ Option name ^ Data Type ^ Default value X2Go Client ^ Default value Python X2Go ^ Comment ^ | ||
| useexports | | useexports | ||
- | | export | + | | export |
| useiconv | | useiconv | ||
| iconvfrom | | iconvfrom | ||
Line 113: | Line 123: | ||
| print | Boolean | true | true | | | | print | Boolean | true | true | | | ||
- | ====== MIME Box Options | + | Use ~ in the folder path to refer to the User Home Directory ($HOME or %HomePath%)((Supported in X2GO Client >= 4.0.1.2)). |
+ | |||
+ | ==== MIME Box Options ==== | ||
//... only available with Python X2Go / PyHoca // | //... only available with Python X2Go / PyHoca // | ||
^ Option name ^ Data Type ^ Default value X2Go Client ^ Default value Python X2Go ^ Comment ^ | ^ Option name ^ Data Type ^ Default value X2Go Client ^ Default value Python X2Go ^ Comment ^ | ||
+ | | usemimebox | Boolean | //not supported// | false | Enable MIME box support | | ||
| mimeboxaction | String | //not supported// | OPEN | Possible values: OPEN, OPENWITH, SAVEAS | | | mimeboxaction | String | //not supported// | OPEN | Possible values: OPEN, OPENWITH, SAVEAS | | ||
- | | mimeboxextensions | List | //not supported// | | Comma-separated list of allowed file extensions | | + | | mimeboxextensions | List | //not supported// | | Comma-separated list of allowed file extensions. If left empty, all file extensions are allowd (not recommended!). However, some extensions are always blacklisted: |
- | ====== Session Command Options | + | ==== Session Command Options ==== |
^ Option name ^ Data Type ^ Default value X2Go Client ^ Default value Python X2Go ^ Comment ^ | ^ Option name ^ Data Type ^ Default value X2Go Client ^ Default value Python X2Go ^ Comment ^ | ||
- | | autostart | + | | autostart |
- | | autologin | + | |
| xdmcpserver | String | | xdmcpserver | String | ||
| rdpserver | | rdpserver | ||
| rdpoptions | | rdpoptions | ||
- | | applications | List | WWWBROWSER, MAILCLIENT, OFFICE, TERMINAL | dito | | | + | | applications | List | WWWBROWSER, MAILCLIENT, OFFICE, TERMINAL | dito | List of generic commands offered by X2Go Client / Pyhoca-GUI for quick-launching. Commands are handed over to the server script '' |
| rootless | Boolean | //depends on session command// | //depends on session command// | | | | rootless | Boolean | //depends on session command// | //depends on session command// | | | ||
- | | command | String | KDE | TERMINAL | Command to be launched on X2Go Server | | + | | command | String | KDE | TERMINAL | Command to be launched on X2Go Server, see below | |
| published | Boolean | false | false | Enable ,,published applications" | | published | Boolean | false | false | Enable ,,published applications" | ||
+ | ==== Possible Session Command Combinations ==== | ||
+ | |||
+ | * Desktop sessions: ('' | ||
+ | * KDE (startkde) | ||
+ | * GNOME (gnome-session) | ||
+ | * LXDE (lxde-session) | ||
+ | * XFCE4 (xfce4-session, | ||
+ | * TRINITY (starttrinity, | ||
+ | * UNITY (unity-2d-launcher, | ||
+ | |||
+ | * Single Applications ('' | ||
+ | * TERMINAL (find terminal application on server and launch) | ||
+ | * WWWBROWSER (find browser on server ...) | ||
+ | * OFFICE (find office application on server ...) | ||
+ | * MAILCLIENT (find mail client on server ...) | ||
+ | |||
+ | * Remote Desktop ('' | ||
+ | * Setting the command to RDP will turn X2Go into an RDP proxy (RDP via NX). RDP will receive a performance improvement on WAN connections and X2Go will guarantee SSH encryption (whereas RDP drops encryption if the bandwidth won't suffice). | ||
+ | * Make sure to use the options rdpserver and rdpoptions properly. | ||
+ | |||
+ | * XDMCP ('' | ||
+ | * Do an XDMCP query for the XDMCP server specified by the xdmcpserver option. Useful if you have a complex terminal server setup behind one X2Go gateway (e.g. handled by an XDMCP chooser). | ||
+ | |||
+ | * Other applications ('' | ||
+ | * Specify any application (by its name) that is available via $PATH. No full path names are allowed here, the path will be stripped off of the file name provided. Make sure your $PATH environment variable resolves to the wanted application properly. | ||
+ | * Published applications mode ('' | ||
+ | * Leave the command option empty and enable the option published |