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

Bases: x2go.backends.profiles.base.X2GoSessionProfiles

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