User Tools

Site Tools


wiki:development:sessions-file

This is an old revision of the document!


X2Go Sessions File Format Specification

Default path name (Linux, Mac OS X): $HOME/.x2goclient/sessions

On Windows (non-portable mode): session profiles are stored in the Windows registry (HKEY_LOCAL_MACHINE\SOFTWARE\x2goclient) On Windows (portable mode): session profiles are stored in a file (location???)

Related command line options:

  • x2goclient: –portable, –home, –session-conf
  • pyhoca-gui: –client-rootdir

Generic Sessions File Format

[<unique-timestamp-for-session-1>]
<session1-option1>=<session1-value1>
<session1-option2>=<session1-value2>
...
<session1-optionN>=<session1-valueN>

[<unique-timestamp-for-session-2>]
<session2-option1>=<session2-value1>
<session2-option2>=<session2-value2>
...
<session2-optionN>=<session2-valueN>

...

[<unique-timestamp-for-session-M>]
<sessionM-option1>=<sessionM-value1>
<sessionM-option2>=<sessionM-value2>
...
<sessionM-optionN>=<sessionM-valueN>

Session Options en Detail

… in alphabetical order.

General Session Options

name String PyHoca-GUI feature: using ,,/“ as a separator in the session name creates menus and submenus in the PyHoca-GUI applet
icon Filename :icons/128×128/x2gosession.png :icons/128×128/x2gosession.png Icon for Desktop Session Windows

Session Window Options

… only available with Python X2Go / PyHoca

setsessiontitle Boolean not supported false If disabled, the server-side provided session title is used
sessiontitle String not supported Store a customized session window title in the session profile config

Connection Options

Option name Data Type Default value X2Go Client Default value Python X2Go Comment
host String FQDN Hostname or IP Adress
key Filename Filename to SSH private key file
krblogin Boolean false not supported
pack String jpeg-16m jpeg-16m NX compression method
quality [0..9] 9 9 NX compression quality
speed [0..4] 2 2 0=Modem, 1=ISDN, 2=ADSL, 3=WAN, 4=LAN

SSH Proxy Options

… only available with Python X2Go / PyHoca

usesshproxy Boolean not supported false Connect via a SSH proxy
sshproxyhost String not supported Format: <hostname>[:<port>]
sshproxyuser String not supported Username for connecting to SSH proxy server
sshproxykeyfile Filename
wiki/development/sessions-file.1331376083.txt.gz · Last modified: 2013/03/08 13:31 (external edit)