x2go.backends.profiles.sshbroker module¶
x2go.backends.profiles.sshbroker.X2GoSessionProfiles
class - managing X2Go Client session profiles obtained from an SSH based X2Go Session Broker.
x2go.backends.profiles.sshbroker.X2GoSessionProfiles
is a public API class. Use this class in your Python X2Go based
applications.
-
class
x2go.backends.profiles.sshbroker.
X2GoSessionProfiles
(session_profile_defaults={'export': {}, 'height': 600, 'useiconv': False, 'sshproxyautologin': True, 'display': 1, 'directrdp': False, 'iconvto': 'UTF-8', 'width': 800, 'mimeboxextensions': '', 'command': 'TERMINAL', 'variant': '', 'xinerama': False, 'usemimebox': False, 'icon': ':icons/128x128/x2gosession.png', 'maxdim': False, 'startsoundsystem': False, 'autostart': False, 'sshport': 22, 'defsndport': True, 'sessiontitle': '', 'soundsystem': 'pulse', 'setdpi': False, 'speed': 2, 'krblogin': False, 'sshproxysameuser': False, 'rdpclient': 'rdesktop', 'print': False, 'usesshproxy': False, 'rootless': True, 'rdpport': 3389, 'dpi': 96, 'iconvfrom': 'UTF-8', 'layout': 'us', 'kdrive': False, 'mimeboxaction': 'OPEN', 'pack': '16m-jpeg', 'clipboard': 'both', 'setsessiontitle': False, 'published': False, 'sshproxykeyfile': '', 'sshproxyhost': 'proxyhost.mydomain', 'host': ['server.mydomain'], 'autoconnect': False, 'restoreexports': False, 'fstunnel': True, 'forwardsshagent': False, 'useexports': True, 'sshproxyuser': '', 'autologin': True, 'sshproxysamepass': False, 'sound': False, 'type': 'pc105/us', 'rdpserver': '', 'fullscreen': False, 'quality': 9, 'usekbd': True, 'sshproxytype': 'SSH', 'user': 'jenkins', 'multidisp': False, 'soundtunnel': True, 'sndport': 4713, 'rdpoptions': '-u X2GO_USER -p X2GO_PASSWORD', 'name': 'NEW_PROFILE', 'applications': ['WWWBROWSER', 'MAILCLIENT', 'OFFICE', 'TERMINAL'], 'uniquehostkeyaliases': False, 'sshproxyport': 22, 'key': '', 'xdmcpserver': 'localhost', 'directrdpsettings': ''}, logger=None, loglevel=56)[source]¶ Bases:
x2go.backends.profiles.base.X2GoSessionProfiles
-
defaultSessionProfile
= {'export': {}, 'height': 600, 'useiconv': False, 'sshproxyautologin': True, 'display': 1, 'useexports': True, 'iconvto': 'UTF-8', 'width': 800, 'mimeboxextensions': '', 'variant': '', 'xinerama': False, 'usemimebox': False, 'icon': ':icons/128x128/x2gosession.png', 'multidisp': False, 'maxdim': False, 'autostart': False, 'sshport': 22, 'defsndport': True, 'sessiontitle': '', 'autologin': True, 'setdpi': False, 'speed': 2, 'sshproxysameuser': False, 'rdpclient': 'rdesktop', 'print': False, 'key': '', 'usesshproxy': False, 'published': False, 'krblogin': False, 'iconvfrom': 'UTF-8', 'layout': 'us', 'kdrive': False, 'mimeboxaction': 'OPEN', 'pack': '16m-jpeg', 'clipboard': 'both', 'rdpoptions': '-u X2GO_USER -p X2GO_PASSWORD', 'setsessiontitle': False, 'rdpport': 3389, 'sshproxykeyfile': '', 'sshproxyhost': 'proxyhost.mydomain', 'fullscreen': False, 'autoconnect': False, 'restoreexports': False, 'startsoundsystem': False, 'forwardsshagent': False, 'directrdp': False, 'sshproxyuser': '', 'soundsystem': 'pulse', 'sshproxysamepass': False, 'sound': False, 'type': 'pc105/us', 'host': ['server.mydomain'], 'quality': 9, 'fstunnel': True, 'rootless': True, 'user': 'jenkins', 'usekbd': True, 'soundtunnel': True, 'sndport': 4713, 'rdpserver': '', 'name': 'NEW_PROFILE', 'applications': ['WWWBROWSER', 'MAILCLIENT', 'OFFICE', 'TERMINAL'], 'uniquehostkeyaliases': False, 'sshproxytype': 'SSH', 'sshproxyport': 22, 'command': 'TERMINAL', 'dpi': 96, 'xdmcpserver': 'localhost', 'directrdpsettings': ''}¶
-