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={'quality': 9, 'mimeboxaction': 'OPEN', 'kdrive': False, 'iconvto': 'UTF-8', 'rdpserver': '', 'xdmcpserver': 'localhost', 'autologin': True, 'sshproxyport': 22, 'setsessiontitle': False, 'command': 'TERMINAL', 'name': 'NEW_PROFILE', 'variant': '', 'sshproxysameuser': False, 'clipboard': 'both', 'width': 800, 'icon': ':icons/128x128/x2gosession.png', 'sound': False, 'useexports': True, 'applications': ['WWWBROWSER', 'MAILCLIENT', 'OFFICE', 'TERMINAL'], 'sshproxyuser': '', 'usemimebox': False, 'usesshproxy': False, 'export': {}, 'key': '', 'directrdp': False, 'setdpi': False, 'rdpport': 3389, 'autoconnect': False, 'print': False, 'krblogin': False, 'iconvfrom': 'UTF-8', 'sndport': 4713, 'forwardsshagent': False, 'maxdim': False, 'fstunnel': True, 'display': 1, 'rdpclient': 'rdesktop', 'directrdpsettings': '', 'height': 600, 'published': False, 'restoreexports': False, 'sshport': 22, 'sshproxyautologin': True, 'rootless': True, 'autostart': False, 'pack': '16m-jpeg', 'fullscreen': False, 'soundtunnel': True, 'usekbd': True, 'dpi': 96, 'useiconv': False, 'speed': 2, 'xinerama': False, 'sshproxykeyfile': '', 'soundsystem': 'pulse', 'rdpoptions': '-u X2GO_USER -p X2GO_PASSWORD', 'startsoundsystem': False, 'sshproxysamepass': False, 'type': 'pc105/us', 'uniquehostkeyaliases': False, 'host': ['server.mydomain'], 'sshproxyhost': 'proxyhost.mydomain', 'defsndport': True, 'mimeboxextensions': '', 'sshproxytype': 'SSH', 'layout': 'us', 'sessiontitle': '', 'user': 'jenkins', 'multidisp': False}, logger=None, loglevel=56)[source]

Bases: x2go.backends.profiles.base.X2GoSessionProfiles

defaultSessionProfile = {'quality': 9, 'mimeboxaction': 'OPEN', 'kdrive': False, 'iconvto': 'UTF-8', 'rdpserver': '', 'dpi': 96, 'autologin': True, 'sshproxyport': 22, 'setsessiontitle': False, 'name': 'NEW_PROFILE', 'sessiontitle': '', 'sshproxysameuser': False, 'clipboard': 'both', 'width': 800, 'icon': ':icons/128x128/x2gosession.png', 'sound': False, 'useexports': True, 'sshproxykeyfile': '', 'mimeboxextensions': '', 'sshproxyuser': '', 'usemimebox': False, 'usesshproxy': False, 'variant': '', 'key': '', 'directrdp': False, 'setdpi': False, 'sshproxytype': 'SSH', 'rdpport': 3389, 'rdpoptions': '-u X2GO_USER -p X2GO_PASSWORD', 'krblogin': False, 'iconvfrom': 'UTF-8', 'autoconnect': False, 'forwardsshagent': False, 'maxdim': False, 'rdpclient': 'rdesktop', 'display': 1, 'directrdpsettings': '', 'height': 600, 'restoreexports': False, 'sshport': 22, 'defsndport': True, 'sshproxyautologin': True, 'autostart': False, 'pack': '16m-jpeg', 'applications': ['WWWBROWSER', 'MAILCLIENT', 'OFFICE', 'TERMINAL'], 'soundtunnel': True, 'usekbd': True, 'xdmcpserver': 'localhost', 'useiconv': False, 'speed': 2, 'xinerama': False, 'export': {}, 'soundsystem': 'pulse', 'print': False, 'startsoundsystem': False, 'sshproxysamepass': False, 'type': 'pc105/us', 'rootless': True, 'host': ['server.mydomain'], 'sshproxyhost': 'proxyhost.mydomain', 'command': 'TERMINAL', 'fstunnel': True, 'user': 'jenkins', 'fullscreen': False, 'uniquehostkeyaliases': False, 'layout': 'us', 'sndport': 4713, 'published': False, 'multidisp': False}